Hello Object Db community :)
I am using this wonderful library and I caught a strange exception while testing the "composite key" feature in JPA.
Let's see what I am doing :
@Entity public class Book { @EmbeddedId BookId id; } @Embeddable Class BookId { Integer bookIdCountry; ECountry country; }
My BookId contains 2 attributes:
One Integer and one enum.
These attributes are compliant with the object Db Documentation:
http://www.objectdb.com/java/jpa/entity/id
Unfortunately, while merging the entity, object db is throwing the following Exception :
[ObjectDB 2.4.0] Unexpected exception (Error 990)
My bookId and its attributes are NEVER null.
Have you any idea about this problem?
#####
Additionals infos, here is the stack trace :
[ObjectDB 2.4.0] Unexpected exception (Error 990) Generated by OpenJDK 64-Bit Server VM 1.6.0_18 (on Linux 2.6.32). 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.VUT.e(VUT.java:221) at com.objectdb.o.VUT.e(VUT.java:148) at com.objectdb.o.UMR.s(UMR.java:426) at com.objectdb.o.UMR.q(UMR.java:382) at com.objectdb.o.UML.s(UML.java:484) at com.objectdb.o.MMM.X(MMM.java:794) at com.objectdb.o.EMR.h(EMR.java:140) at com.objectdb.o.TVS.g(TVS.java:104) at com.objectdb.o.TVS.g(TVS.java:93) at com.objectdb.o.EMR.q(EMR.java:75)
The problem occurs on the VUT class on the call "e" method. A look at the bytecode show :
L219 to 221 : checkcast BigInteger
I don't know why this cast is made ... i haven't any BigInteger in my app.
Well, debugging obfuscated code is not easy for me.
Any help would be appreciated :)