ObjectDB ObjectDB

Internal ObjectDB error by read the primary key

#1

Sometimes we get the following exception, when we start our software.

 

java.lang.NullPointerException: null
at com.objectdb.o.TYW.<init>(TYW.java:107) ~[na:na]
at com.objectdb.o.ENH.d(ENH.java:225) ~[na:na]
at com.objectdb.o.ENT.aa(ENT.java:910) ~[na:na]
at com.objectdb.o.LDR.M(LDR.java:874) ~[na:na]
at com.objectdb.o.LDR.L(LDR.java:834) ~[na:na]
at com.objectdb.o.LDR.Vf(LDR.java:1061) ~[na:na]
at com.objectdb.o.MST.aZ(MST.java:544) ~[na:na]
at com.objectdb.o.MST.aY(MST.java:471) ~[na:na]
at com.objectdb.o.MST.Vl(MST.java:442) ~[na:na]
at com.objectdb.o.WRA.Vl(WRA.java:266) ~[na:na]
at com.objectdb.o.LDR.G(LDR.java:556) ~[na:na]
at com.objectdb.o.LDR.F(LDR.java:473) ~[na:na]
at com.objectdb.o.OBC.U2(OBC.java:1095) ~[na:na]
at com.objectdb.o.OBC.aL(OBC.java:766) ~[na:na]
at com.objectdb.o.ENT.beforeAccess(ENT.java:1133) ~[na:na]
at com.btc.ep.base.bl.internal.dmos.ModelElementImpl.getUid(ModelElementImpl.java:1) ~[na:na]
edit
delete
#2

This seems to be related to your report on this forum thread.

Do you still get the exception using 2.6.6_05?

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
edit
delete
#3

Yes, this exception occured using 2.6.6_05.

edit
delete
#4

This is a similar issue that was not covered by the fix of 2.6.6_05.

Build 2.6.6_06 should fix it. Unfortunately it is difficult to cover all the cases of this situation with tests since it is not consistent and depends on the exact timing of the GC, so if you still see similar exceptions please let us know.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
edit
delete

Reply

To post on this website please sign in.