[ObjectDB 2.4.7_07] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Server VM 1.7.0_10 (on Linux 3.2.0-39-generic-pae). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com.objectdb.o.InternalException at com.objectdb.o.InternalException.f(InternalException.java:236) at com.objectdb.o.STA.K(STA.java:339) at com.objectdb.o.ENT.D(ENT.java:533) at com.objectdb.o.ENT.M(ENT.java:681) at com.objectdb.o.LDR.F(LDR.java:589) at com.objectdb.o.LDR.E(LDR.java:466) at com.objectdb.o.OBC.UJ(OBC.java:1102) at com.objectdb.o.QRR.f(QRR.java:220) at com.objectdb.jdo.JdoQuery.execute0(JdoQuery.java:811) at com.objectdb.jdo.JdoQuery.execute(JdoQuery.java:720) at com.spiffymap.jdo.JdoDaoBase.count(JdoDaoBase.java:143)
JdoDaoBase.java:143 is the last line of the following:
Query query = pm.newQuery(); query.setResult("count(this)"); query.setClass(myClass); return (Long) query.execute();
All queries (eg ones with parameters) on the same class fail with the same error.
The code was working with the class in this case until I added a persistence-capable-superclass so I guess it's related to that.