Hi Udi, I saw a similar exception while using embedded objects. Is "Tree" an Embeddable object ?
Regards, Ravi. -----Original Message----- From: Udi [mailto:[email protected]] Sent: Wednesday, May 27, 2009 2:03 AM To: [email protected] Subject: NullPointerException in pcReplaceField Hey, I don't know yet how to force this situation, but it happens a lot: I get a NullPointerException caused by pcReplaceField. I can't paste the stack but it goes something like: ... caused bu: java.lang.NullPointerException at MyProjrct.entities.Tree.pcReplaceField(Tree) and here some statemanager calls. I'm pretty sure that the exception is not caused because of a detached entity.. Is there any known issue for that? What can cause this exception? thanks, Udi -- View this message in context: http://n2.nabble.com/NullPointerException-in-pcReplaceField-tp2979657p2979657.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
