Fixing NullPointerException in EdmNavigationPropertyImplProv.getMultiplicity

Sometimes you may receive a NullPointerException in the getMultiplicity function of, part of the Olingo OData library.

This is caused by not having set associations / association sets up correction (i.e. foreign keys). To fix the problem you either need to fix your associations and association sets to match and have ‘setMultiplicity’ calls, or remove the associations entirely.

Leave a Reply

Your email address will not be published.