85 words

Open a db file causes an error

#1
2016-05-31 11:00

We get the following error, if we open a db file.

We use ObjectDB 2.6.8.

What is wrong?

Caused by: java.lang.NullPointerException: null
at com.objectdb.o.IXN.<init>(IXN.java:136) ~[na:na]
at com.objectdb.o.UTY.Z(UTY.java:703) ~[na:na]
at com.objectdb.o.TYS.l(TYS.java:176) ~[na:na]
at com.objectdb.o.TYM.ae(TYM.java:529) ~[na:na]
at com.objectdb.o.TYM.<init>(TYM.java:194) ~[na:na]
at com.objectdb.o.OMF.ap(OMF.java:840) ~[na:na]
at com.objectdb.o.OMF.ao(OMF.java:792) ~[na:na]
at com.objectdb.jpa.EMF.ao(EMF.java:238) ~[na:na]
at com.objectdb.o.OMF.an(OMF.java:690) ~[na:na]
at com.objectdb.jpa.EMF.createEntityManager(EMF.java:257) ~[na:na]
btc_es
btc_es's picture
Joined on 2014-10-20
User Post #123
#2
2016-05-31 14:17

The stack trace indicates an unexpected type during initialization.

Could you please provide more details about when this error started? Maybe after some schema change, such as changing a non entity class to an entity class?

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #2,511
#3
2016-05-31 18:15

Please try build 2.8.0_01.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #2,513
#4
2016-06-02 10:59

Thanks, the fix works.

btc_es
btc_es's picture
Joined on 2014-10-20
User Post #127

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