Issue #2068: Internal exception

Type: Bug ReoprtVersion: 2.7.1Priority: CriticalStatus: ClosedReplies: 3


We got the following stacktrace.

Can you explain me what this internal exception means and why it was thrown?

It only happens when the entities are enhanced.

Best regards



com.objectdb.o.InternalException: Unexpected internal exception
at com.objectdb.o.ILP.iterator(
at com.objectdb.o.CLT.visitRefs(
at com.objectdb.o.TVS.j(
at com.objectdb.o.TVS.cascade(
at com.objectdb.o.STA.Q(
at com.objectdb.o.STM.E(
at com.objectdb.o.OBM.bQ(
at com.objectdb.jdo.PMImpl.bQ(
at com.objectdb.o.OBM.bP(
at com.objectdb.o.OBM.bO(
at com.objectdb.o.QRR.f(
at com.objectdb.o.QRR.a(
at com.objectdb.o.InvMemberQuery.e(
at com.objectdb.o.UMR.v(
at com.objectdb.o.ENT.loadInverse(
at com.objectdb.o.IVP.m(
at com.objectdb.o.IVP.l(
at com.objectdb.o.ILP.iterator(


The stack trace indicates an unexpected condition during attempt to resolve a mapped by relationship, which required a flush before running the mapped by query (due to changes since last commit/flush) in order to retrieve the mapped by instances. The stack trace indicates a failure to cascade persist operation from unknown reason during that flush.

Any more information could help. If you can find a more detailed exception stack trace in the log file it may also help.

ObjectDB Support

Is there new information regarding this exception?

ObjectDB Support

We have removed the 'mapped by' parameter of the relationship annotation. Now it works well.