ObjectDB ObjectDB

StackOverflowError after commit

#1

We have following issue, if we execute a commit:

java.lang.StackOverflowError
at com.objectdb.o.ENT.D(ENT.java:411)
at com.objectdb.o.ENT.D(ENT.java:499)
at com.objectdb.o.ENT.D(ENT.java:417)
at com.objectdb.o.ENT.D(ENT.java:499)
at com.objectdb.o.ENT.D(ENT.java:499)
at com.objectdb.o.ENT.D(ENT.java:417)
at com.objectdb.o.ENT.D(ENT.java:499)
at com.objectdb.o.ENT.D(ENT.java:499)
at com.objectdb.o.ENT.D(ENT.java:417)
edit
delete
#2

What version of ObjectDB are you using?

If you can provide a full stack trace (possibly from the log file) it could help.

ObjectDB Support
edit
delete
#3

we use version 2.6.4.b04

edit
delete
#4

Please recheck the version number (on the client side), since it does not match the stack trace.

In addition, this is only a partial stack trace. Please find the full stack trace in the ObjectDB (client side) log file.

ObjectDB Support
edit
delete
#5

we have solved this issue, some of our Entity classes were annotated with @Embeddable instead of @Entity

the objectdb error log had following stacktrace, it is possible to throw a better exception?

 

com.objectdb.o.UserException: Failed to write the value of field field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildInterfaceImpl.architecture using reflection - field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildArchitectureImpl.virtualInterfaces - field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildInterfaceImpl.architecture - field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildArchitectureImpl.virtualInterfaces - field

....

com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualChildArchitectureImpl.virtualInterfaces - field com.btc.ep.architecture.virtualcomposed.bl.internal.dmos.VirtualComposedArchitectureImpl.childArchitectures
at com.objectdb.o.MSG.d(MSG.java:75)
at com.objectdb.o.UMR.P(UMR.java:934)
at com.objectdb.o.UMR.z(UMR.java:574)
at com.objectdb.o.UML.u(UML.java:537)
at com.objectdb.o.MMM.aj(MMM.java:1149)
at com.objectdb.o.UTY.writeStrictly(UTY.java:1377)
at com.objectdb.o.TYW.ap(TYW.java:432)
at com.objectdb.o.TYW.writeElement(TYW.java:301)
at com.objectdb.o.ABT.writeArray(ABT.java:575)
at com.objectdb.o.CLT.writeStrictly(CLT.java:195)
at com.objectdb.o.TYW.ap(TYW.java:432)
at com.objectdb.o.TYW.ar(TYW.java:482)
at com.objectdb.o.TYW.writeElement(TYW.java:309)
at com.objectdb.o.UMR$S.A(UMR.java:1001)
at com.objectdb.o.UMR.z(UMR.java:571)
at com.objectdb.o.UML.u(UML.java:537)
at com.objectdb.o.MMM.aj(MMM.java:1149)
at com.objectdb.o.UTY.writeStrictly(UTY.java:1377)
at com.objectdb.o.TYW.ap(TYW.java:432)
at com.objectdb.o.TYW.writeElement(TYW.java:301)
at com.objectdb.o.UMR$S.A(UMR.java:1001)
at com.objectdb.o.UMR.z(UMR.java:571)
at com.objectdb.o.UML.u(UML.java:537)
at com.objectdb.o.MMM.aj(MMM.java:1149)
at com.objectdb.o.UTY.writeStrictly(UTY.java:1377)
at com.objectdb.o.TYW.ap(TYW.java:432)
at com.objectdb.o.TYW.writeElement(TYW.java:301)
at com.objectdb.o.ABT.writeArray(ABT.java:575)
at com.objectdb.o.CLT.writeStrictly(CLT.java:195)
at com.objectdb.o.TYW.ap(TYW.java:432)
at com.objectdb.o.TYW.ar(TYW.java:482)
at com.objectdb.o.TYW.writeElement(TYW.java:309)
edit
delete
#6

Thank you for the update. We will check how a better error message can be produced.

ObjectDB Support
edit
delete

Reply

To post on this website please sign in.