Issue #107: unexpected exception - in query

Type: BugVersion: 1.4.0Priority: LowStatus: FixedReplies: 1

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 (
com.objectdb.o.InternalException: null
at com.objectdb.o.InternalException.b(
at com.objectdb.o.VAL.z(
at com.objectdb.o.AGN$aK.aG(
at com.objectdb.o.AGN.aF(
at com.objectdb.o.GQI.Us(
at com.objectdb.o.PRG.aa(
at com.objectdb.o.QRM.UR(
at com.objectdb.o.MST.UR(
at com.objectdb.o.WRA.UR(
at com.objectdb.o.WSM.UR(
at com.objectdb.o.WRA.UR(
at com.objectdb.o.WSN.UR(
at com.objectdb.o.QRR.g(
at com.objectdb.o.QRR.b(
at com.objectdb.jpa.JpaQuery.getSingleResult(
at pt.up.fe.dceg.neptus.imc.db.MessageDB.avg(
at pt.up.fe.dceg.neptus.imc.db.MessageDB.main(


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
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

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