|NPE in registerObjectForMergeCloneIntoWorkingCopy [message #786132]
||Sun, 29 January 2012 21:41
| Geoff Capper
Registered: January 2012
I'm using GF 3.1.1 which contains EclipseLink 2.3.0.
When I attempt to perform a merge I'm getting a NullPointerException at line 900 in MergeManager.registerObjectForMergeCloneIntoWorkingCopy.
The line in the source is:
Object primaryKey = descriptor.getObjectBuilder().extractPrimaryKeyFromObject(clone, unitOfWork, true);
There is no further line in the stacktrace so I assume that descriptor is null. Descriptor is set on the previous line in the sources as:
ClassDescriptor descriptor = unitOfWork.getDescriptor(clone.getClass());
Is there any way to determine what is causing this? I'm guessing I might be missing an entity class. Is that so?
Powered by FUDForum
. Page generated in 0.02518 seconds