Home » Support » Issue Tracking » InternalException during EntityManager.find()

InternalException during EntityManager.find()

Type: BugVersion: 2.7.1Priority: HighStatus: FixedReplies: 1
#1

Hello,

we got following exception (ObjectDB version 2.7.1.b03). Can you explain what was happened?

Caused by: com.objectdb.o.InternalException: Unexpected internal exception
at com.objectdb.o.JPE.h(JPE.java:168) ~[na:na]
at com.objectdb.o.ERR.f(ERR.java:65) ~[na:na]
at com.objectdb.o.OBC.onObjectDBError(OBC.java:1566) ~[na:na]
at com.objectdb.jpa.EMImpl.find(EMImpl.java:607) ~[na:na]
at com.objectdb.jpa.EMImpl.find(EMImpl.java:519) ~[na:na]
at com.btc.ep.expression.dal.internal.repositories.ExpressionRepositoryImpl.findExpression_aroundBody0(ExpressionRepositoryImpl.java:108) ~[na:na]
at com.btc.ep.expression.dal.internal.repositories.ExpressionRepositoryImpl$AjcClosure1.run(ExpressionRepositoryImpl.java:1) ~[na:na]
at com.btc.ep.base.transactions.annotations.TransactionAspect.ajc$around$com_btc_ep_base_transactions_annotations_TransactionAspect$1$344042f2proceed(TransactionAspect.aj:86) ~[na:na]
at com.btc.ep.base.transactions.annotations.TransactionAspect.ajc$around$com_btc_ep_base_transactions_annotations_TransactionAspect$1$344042f2(TransactionAspect.aj:105) ~[na:na]
at com.btc.ep.expression.dal.internal.repositories.ExpressionRepositoryImpl.findExpression(ExpressionRepositoryImpl.java:107) ~[na:na]
at com.btc.ep.expression.bl.internal.services.ExpressionServiceImpl.getExpression(ExpressionServiceImpl.java:1155) ~[na:na]
at com.btc.ep.expression.bl.internal.services.impactanalysis.ReparseExpressionProcessor.processImpactOnElement(ReparseExpressionProcessor.java:41) ~[na:na]
at com.btc.ep.impactanalysis.bl.AbstractElementProcessor.processImpactOnElement(AbstractElementProcessor.java:54) ~[na:na]
at com.btc.ep.impactanalysis.bl.internal.services.ImpactAnalysisServiceImpl.internalProcessElement(ImpactAnalysisServiceImpl.java:153) ~[na:na]
... 35 common frames omitted
Caused by: java.lang.NullPointerException: null
at com.objectdb.o.PAG.ac(PAG.java:698) ~[na:na]
at com.objectdb.o.RTT.l(RTT.java:131) ~[na:na]
at com.objectdb.o.RRT.l(RRT.java:32) ~[na:na]
at com.objectdb.o.TSK.i(TSK.java:145) ~[na:na]
at com.objectdb.o.TSK.f(TSK.java:95) ~[na:na]
at com.objectdb.o.TSM.e(TSM.java:86) ~[na:na]
at com.objectdb.o.MST.a2(MST.java:707) ~[na:na]
at com.objectdb.o.MST.aZ(MST.java:476) ~[na:na]
at com.objectdb.o.MST.U6(MST.java:442) ~[na:na]
at com.objectdb.o.WRA.U6(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.LDR.A(LDR.java:272) ~[na:na]
at com.objectdb.o.OBC.aP(OBC.java:1069) ~[na:na]
at com.objectdb.o.OBC.aN(OBC.java:987) ~[na:na]
at com.objectdb.jpa.EMImpl.find(EMImpl.java:599) ~[na:na]
... 45 common frames omitted
#2

It seems to be a thread safe issue in working with temporary page files (setting "objectdb.temp.page-file", which apparently is only used in your project at the moment).

Build 2.7.2_08 includes an attempt to fix the issue.

Do you have a way to reproduce the issue and check the new build?

 

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

Post Reply

To post a reply and/or subscribe to update notifications - please login