Sorry, I do not have a proper resolution for this. The following JIRA was already opened for this: http://issues.apache.org/jira/browse/OPENJPA-453
It is currently unassigned. I think the cause of the issue is, if you have multithreaded environment and when transactions begin and end, all references to embedded objects become invalid. Reacquiring the reference from owning persistent object is the only workaround that I know of. Regards, Ravi. -----Original Message----- From: Udi [mailto:[email protected]] Sent: Wednesday, May 27, 2009 6:27 AM To: [email protected] Subject: RE: NullPointerException in pcReplaceField Hey Ravi, Thanks for the comment. "Tree" is indeed an embedded object... What did you do with this exception? -- View this message in context: http://n2.nabble.com/NullPointerException-in-pcReplaceField-tp2979657p2980726.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
