Hi,
when going through all entity instance to find orphaned entries we get the exception:
Exception in thread "main" [ObjectDB 2.6.9_05] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_74 (on Windows 10 10.0). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.BYR.o(BYR.java:113) at com.objectdb.o.BYR.w(BYR.java:206) at com.objectdb.o.VUT.j(VUT.java:357) at com.objectdb.o.RST.C(RST.java:194) at com.objectdb.o.RTT.l(RTT.java:134) at com.objectdb.o.RST.l(RST.java:24) at com.objectdb.o.RTT.D(RTT.java:179) at com.objectdb.o.RST.s(RST.java:121) at com.objectdb.o.PGT.q(PGT.java:109) at com.objectdb.o.RST.B(RST.java:93) at com.objectdb.o.RTT.l(RTT.java:132) at com.objectdb.o.RST.l(RST.java:24) at com.objectdb.o.RTT.D(RTT.java:179) at com.objectdb.o.RST.s(RST.java:121) at com.objectdb.o.PGT.q(PGT.java:109) at com.objectdb.o.RST.B(RST.java:93) at com.objectdb.o.RTT.l(RTT.java:132) at com.objectdb.o.RST.l(RST.java:24) at com.objectdb.o.TSK.i(TSK.java:145) at com.objectdb.o.TSK.f(TSK.java:95) at com.objectdb.o.TSM.e(TSM.java:86) at com.objectdb.o.RTT.D(RTT.java:177) at com.objectdb.o.RST.s(RST.java:121) at com.objectdb.o.PGT.q(PGT.java:109) at com.objectdb.o.RST.B(RST.java:93) at com.objectdb.o.RTT.l(RTT.java:132) at com.objectdb.o.RST.l(RST.java:24) at com.objectdb.o.TSK.i(TSK.java:145) at com.objectdb.o.TSK.f(TSK.java:95) at com.objectdb.o.TSM.e(TSM.java:86) at com.objectdb.o.RTT.D(RTT.java:177) at com.objectdb.o.RST.s(RST.java:121) at com.objectdb.o.PGT.q(PGT.java:109) at com.objectdb.o.RST.B(RST.java:93) at com.objectdb.o.RTT.l(RTT.java:132) at com.objectdb.o.RST.l(RST.java:24) at com.objectdb.o.TSK.i(TSK.java:145) at com.objectdb.o.TSK.f(TSK.java:95) at com.objectdb.o.TSM.e(TSM.java:86) at com.objectdb.o.MST.a0(MST.java:627) at com.objectdb.o.MST.U7(MST.java:565) at com.objectdb.o.WRA.U7(WRA.java:279) at com.objectdb.o.LDR.G(LDR.java:583) at com.objectdb.o.LDR.F(LDR.java:473) at com.objectdb.o.OBC.U2(OBC.java:1097) at com.objectdb.o.QRR.f(QRR.java:222)
What we do:
1. Create a transaction and load 10.000 entity instances
2. Check for each entity instance if it is references using queries (select from <type> where field=<instance>)
3. Load the next 10.000 instance and start over
After a while and a lot of queries we get the above exception.
Thanks
Markus Ritter