Error when I switch to server mode


I was previously using embedded mode without any problem.  Today I tried to switch to server mode, and after connecting and doing some db operations I got this:

[ObjectDB 2.0.3_04] Unexpected exception (Error 990)

Generated by Java HotSpot(TM) Client VM 1.6.0_21 (on Windows 7 6.1).
Please report this error to ObjectDB support (
com.objectdb.o.InternalException: java.lang.NullPointerException: null

 at com.objectdb.o.MST.aS(
 at com.objectdb.o.MST.aR(
 at com.objectdb.o.MST.UO(
 at com.objectdb.o.WRA.UO(
 at com.objectdb.o.WRA.UO(
 at com.objectdb.o.WSN.UO(
 at com.objectdb.o.STC.o(
 at com.objectdb.o.SHN.ab(
 at com.objectdb.o.SHN.I(
 at Source)

I'm just doing a simple insert.


The stacktrace indicates a problem in retrieving an object in a client-server mode. Somehow the type of the object is unknown on the server side - but I couldn't reproduce the exception, since normally the client registers types with the server before they are needed.

Please check the new build (2.0.4_03) that might fix this issue (by considering unknown classes on the server as classes with no instances, assuming that this is the problem).

However, if you could post a simple test case that demonstrates the problem it might help.

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

Post Reply

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