Fast Object Database for Java - with JPA/JDO support

Getting Unexpected internal exception when updating entity in MEM db

#1

Hi,

I am using mem db. When am doing Merge operation getting "com.objectdb.o.InternalException: Unexpected internal exception" this exception for some cases.Can you please explain me the reason. Please find the below stack trace for your reference.

Caused by: com.objectdb.o.InternalException: Unexpected internal exception
    at com.objectdb.o.JPE.e(JPE.java:135)
    at com.objectdb.o.ERR.h(ERR.java:38)
    at com.objectdb.o.OBC.onObjectDBError(OBC.java:1017)
    at com.objectdb.jpa.EMImpl.merge(EMImpl.java:307)
    at org.vn.radius.cc.server.db.RtDB.Update(RtDB.java:101)
    ... 10 more
Caused by: java.lang.NullPointerException
    at com.objectdb.o.EMR.i(EMR.java:157)
    at com.objectdb.o.EMR.g(EMR.java:52)
    at com.objectdb.jpa.EMImpl.merge(EMImpl.java:304)
    ... 12 more

Thanks

 

#2

The stack trace indicates using an old version of ObjectDB (which?)

Please try and check if the error happens also with the last version.

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

Hi 

>The stack trace indicates using an old version of ObjectDB (which?)

I am using Objectdb-2.8.2.

 

Thank you.

#4

Please check if you still have the issue with the most recent ObjectDB version.

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

Post Reply