ObjectDB ObjectDB

null pointer exception in objectdb-2.4.4_06


I have the following stack trace.  Is this a null ptr in our code or in the object db code?

Failed to commit transaction:  (error 613)
at com.objectdb.jpa.EMImpl.commit(EMImpl.java:279)
[Removed application frames]
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at com.objectdb.o.RTM.x(RTM.java:85)
at com.objectdb.o.OBC.aL(OBC.java:904)
at com.objectdb.o.OBM.bA(OBM.java:492)
at com.objectdb.o.OBM.bz(OBM.java:371)
at com.objectdb.o.EPR.Un(EPR.java:81)
at com.objectdb.o.MPT.visitRefs(MPT.java:174)
at com.objectdb.o.TVS.j(TVS.java:169)
at com.objectdb.o.TVS.cascade(TVS.java:156)
at com.objectdb.o.STA.Q(STA.java:476)
at com.objectdb.o.STM.E(STM.java:410)
at com.objectdb.o.OBM.bK(OBM.java:902)
at com.objectdb.jdo.PMImpl.bK(PMImpl.java:2187)
at com.objectdb.o.OBM.bJ(OBM.java:818)
at com.objectdb.o.OBM.bH(OBM.java:733)
at com.objectdb.jpa.EMImpl.commit(EMImpl.java:276)

The stack trace indicates an attempt to persist (indirectly via cascading) an object with a null primary key.

Build 2.4.4_17 may provide a better error message in this case.

ObjectDB Support


To post on this website please sign in.