ObjectDB ObjectDB

unexpected exception - in query


I received the following exception while trying to process a query:

Exception in thread "main" [ObjectDB 2.0.4_01] Unexpected exception (Error 990)
Generated by Java HotSpot(TM) Server VM 1.6.0_22 (on Linux 2.6.32-27-generic).
Please report this error to ObjectDB support (support@objectdb.com).
com.objectdb.o.InternalException: null
at com.objectdb.o.InternalException.b(InternalException.java:88)
at com.objectdb.o.VAL.z(VAL.java:637)
at com.objectdb.o.AGN$aK.aG(AGN.java:546)
at com.objectdb.o.AGN.aF(AGN.java:244)
at com.objectdb.o.GQI.Us(GQI.java:135)
at com.objectdb.o.PRG.aa(PRG.java:584)
at com.objectdb.o.QRM.UR(QRM.java:256)
at com.objectdb.o.MST.UR(MST.java:855)
at com.objectdb.o.WRA.UR(WRA.java:285)
at com.objectdb.o.WSM.UR(WSM.java:112)
at com.objectdb.o.WRA.UR(WRA.java:285)
at com.objectdb.o.WSN.UR(WSN.java:416)
at com.objectdb.o.QRR.g(QRR.java:210)
at com.objectdb.o.QRR.b(QRR.java:138)
at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:586)
at pt.up.fe.dceg.neptus.imc.db.MessageDB.avg(MessageDB.java:63)
at pt.up.fe.dceg.neptus.imc.db.MessageDB.main(MessageDB.java:68)


The stack trace indicates an attempt to run a query that calculates average on values that at least one of them is not numeric.

I could reproduce the exception in the attached test. Please check the new build (2.0.4_02) that should fix it.

Thank you for this report, but please try to provide more details (and a more informative title) in next bug reports, since in most cases the stack trace alone is insufficient to solve an issue.

ObjectDB Support


To post on this website please sign in.