[ObjectDB 2.4.6_06] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.6.0_25 (on Windows 7 6.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.NullPointerException: null java.lang.NullPointerException at com.objectdb.o.LFL.X(LFL.java:1154) at com.objectdb.o.LFL.P(LFL.java:934) at com.objectdb.o.FIW.af(FIW.java:94) at com.objectdb.o.FIW.ad(FIW.java:55) at com.objectdb.o.SSS.aj(SSS.java:907) at com.objectdb.o.SSS.ag(SSS.java:731) at com.objectdb.o.SSS.af(SSS.java:707) at com.objectdb.o.MST.UC(MST.java:1116) at com.objectdb.o.WRA.UC(WRA.java:200) at com.objectdb.o.TYS.x(TYS.java:748) at com.objectdb.o.TYS.v(TYS.java:572) at com.objectdb.o.TYM.ae(TYM.java:542) at com.objectdb.o.TYM.ac(TYM.java:478) at com.objectdb.o.TYM.ao(TYM.java:799) at com.objectdb.jpa.EMImpl.loadResultType(EMImpl.java:920) at com.objectdb.jpa.EMImpl.createNamedQuery(EMImpl.java:850) at com.xxx.objectdb.ObjectDBRulesEngineDAOImpl.createNamedQuery(ObjectDBRulesEngineDAOImpl.java:258) at com.xxx.RulesEngineService.createOrFetchModifierMap(RulesEngineService.java:355) at com.xxx.RulesEngineService.initEngine(RulesEngineService.java:103) at com.xxx.RulesEngineService.startDbService(RulesEngineService.java:2897) at com.xxx.tests.TestTopologyValidation.getAgent(TestTopologyValidation.java:154) at com.xxx.tests.TestTopologyValidation.testExistingSCLModel(TestTopologyValidation.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.runners.ParentRunner.run(ParentRunner.java:300) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:24) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)
Issue #1032: Named Query Exception
Type: Bug Reoprt | Version: 2.4.6 | Priority: Normal | Status: Fixed | Replies: 3 |
#1
#2
Thank you for this report.
This could indicate an attempt to create a query using a closed EntityManager. If this is the case, a better error message should be produced.
Please make sure that you are using an open EntityManager.
ObjectDB Support
#3
Thanks, that was the problem
#4
The error message was fixed in build 2.4.6_10. Thank you for this report.
ObjectDB Support