171 words

Error when I switch to server mode

#1
2011-01-26 08:31

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 (support@objectdb.com).
com.objectdb.o.InternalException: java.lang.NullPointerException: null

java.lang.NullPointerException
 at com.objectdb.o.MST.aS(MST.java:816)
 at com.objectdb.o.MST.aR(MST.java:786)
 at com.objectdb.o.MST.UO(MST.java:420)
 at com.objectdb.o.WRA.UO(WRA.java:243)
 at com.objectdb.o.WRA.UO(WRA.java:243)
 at com.objectdb.o.WSN.UO(WSN.java:294)
 at com.objectdb.o.STC.o(STC.java:359)
 at com.objectdb.o.SHN.ab(SHN.java:393)
 at com.objectdb.o.SHN.I(SHN.java:132)
 at com.objectdb.o.HND.run(HND.java:119)
 at java.lang.Thread.run(Unknown Source)

I'm just doing a simple insert.

gorilla77
gorilla77's picture
Joined on 2010-12-24
User Post #4
#2
2011-01-26 21:30

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)
support
support's picture
Joined on 2010-05-03
User Post #115

Post Reply

Please read carefully the posting instructions - before posting to the ObjectDB website.

  • You may have to disable pop up blocking in order to use the toolbar (e.g. in Chrome).
  • Use ctrl + right click to open the browser context menu in the editing area (e.g. for using a browser spell checker).
  • To insert formatted lines (e.g. Java code, stack trace) - select a style in the toolbar and then insert the text in the new created block.
  • Avoid overflow of published source code examples by breaking long lines.
  • You may mark in paragraph code words (e.g. class names) with the code style (can be applied by ctrl + D).
  • Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments.
Attachments:
Maximum file size: 32 MB
Cancel