Hello!
We have a strange problem.
Caused by: com.objectdb.o._EntityNotFoundException: Entity is not found: ObjectManager of appnode1/127.0.0.1:6136 [2015-12-15 20:04:20 -> 2015-12-15 20:04:20] - 226 (removed in current transaction) at com.objectdb.o.JPE.g(JPE.java:94) at com.objectdb.o.ERR.f(ERR.java:56) at com.objectdb.o.OBC.onObjectDBError(OBC.java:1503) at com.objectdb.o.RSL.get(RSL.java:176) at com.objectdb.o.LDR.H(LDR.java:680) at com.objectdb.o.LDR.G(LDR.java:619) at com.objectdb.o.LDR.E(LDR.java:472) at com.objectdb.o.OBC.U0(OBC.java:1080) at com.objectdb.o.QRR.h(QRR.java:297) at com.objectdb.o.QRR.f(QRR.java:180) at com.objectdb.o.QRR.a(QRR.java:618) at com.objectdb.o.InvMemberQuery.e(InvMemberQuery.java:139) at com.objectdb.o.UMR.v(UMR.java:508) at com.objectdb.o.ENT.loadInverse(ENT.java:1485) at com.objectdb.o.IVP.m(IVP.java:149) at com.objectdb.o.IVP.l(IVP.java:137) at com.objectdb.o.ILP.size(ILP.java:232) at com.objectdb.o.CLT.visitRefs(CLT.java:156) at com.objectdb.o.TVS.j(TVS.java:169) at com.objectdb.o.TVS.cascade(TVS.java:156) at com.objectdb.o.TVS.g(TVS.java:105) at com.objectdb.o.TVS.g(TVS.java:93) at com.objectdb.jpa.EMImpl.remove(EMImpl.java:464)
Newest version of ObjectDB. No errors if I run the doctor. I've reduced my testcase to this:
@Test @Transactional public void deleteUnitTest() throws NoResultException { Unit byName = unitDAO.findByName("6ff4b08a"); em.remove(byName); }
The unit retrieval works but during commit the exception above get's thrown. The weird thing is that it works for some units and for some not.
Best Regards
Ralph