Fixed
Details
Assignee
Brett MeyerBrett MeyerReporter
Peter HalickyPeter HalickyComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Assignee
Brett Meyer
Brett MeyerReporter
Peter Halicky
Peter HalickyComponents
Fix versions
Affects versions
Priority
Created January 21, 2014 at 1:28 AM
Updated May 5, 2022 at 10:55 AM
Resolved May 5, 2022 at 10:55 AM
I'm using MapJoin like this:
The em.createQuery(cq) call throws a NullPointerException:
The same code works fine on EclipseLink.
Seems that the problem is in the MapKeyHelpers.MapKeySource constructor, which calls the super constructor from AbstractPathSource with a null pathSource argument:
This way, the pathSource is initialized to null. Then, AbstractPathSource's getPathIdentifier() will always throw a NPE.