I'm testing code that otherwise has been working with a clean database. I have seen several examples of the following exception. It never seems to happen in the same place twice, though.
If you can give me a hint as to what would internally cause this, I'll try to reproduce it.
Carl
[ObjectDB 2.2.9_01] javax.persistence.RollbackException Failed to commit transaction: Unexpected internal exception (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:277) at com.fastmodel.fastplan.db.EntityManagerFactory.doFilter(EntityManagerFactory.java:158) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:662) Caused by: com.objectdb.o.InternalException: Unexpected internal exception at com.objectdb.o.JPE.h(JPE.java:163) at com.objectdb.o.ERR.f(ERR.java:68) at com.objectdb.o.IVP.g(IVP.java:103) at com.objectdb.o.IVP.f(IVP.java:83) at com.objectdb.o.ISP.size(ISP.java:152) at com.objectdb.o.CLT.visitRefs(CLT.java:148) 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.D(STM.java:390) at com.objectdb.o.OBM.bH(OBM.java:884) at com.objectdb.jdo.PMImpl.bH(PMImpl.java:2186) at com.objectdb.o.OBM.bG(OBM.java:800) at com.objectdb.o.OBM.bE(OBM.java:715) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:274) ... 15 more Caused by: java.lang.NullPointerException at com.objectdb.o.UMR.u(UMR.java:468) at com.objectdb.o.ENT.loadInverse(ENT.java:1281) at com.objectdb.o.IVP.g(IVP.java:96) ... 27 more