143 words

Null Exception

#1
2012-11-04 09:43

An user reported me this exception. I am not sure how to reproduce it, but maybe it can help you to solve it somehow.  Object DB 2.4.4_05, embedded

The important part is:

null
    com.objectdb.o.TYW.<init>(TYW.java:103)
    com.objectdb.o.ENH.d(ENH.java:222)
    com.objectdb.o.ENT.T(ENT.java:852)
    com.objectdb.o.LDR.y(LDR.java:485)
    com.objectdb.o.LDR.x(LDR.java:449)
    com.objectdb.o.LDR.UV(LDR.java:670)
    com.objectdb.o.MST.aU(MST.java:534)
    com.objectdb.o.MST.aT(MST.java:460)
    com.objectdb.o.MST.U2(MST.java:433)
    com.objectdb.o.WRA.U2(WRA.java:249)
    com.objectdb.o.LDR.w(LDR.java:355)
    com.objectdb.o.LDR.v(LDR.java:293)
    com.objectdb.o.OBC.UI(OBC.java:1097)
    com.objectdb.o.OBC.aJ(OBC.java:787)
    com.objectdb.o.ENT.beforeAccess(ENT.java:1063)
    cz.vity.freerapid.model.DownloadFile.__odbGet_state(DownloadFile.java:1)
    cz.vity.freerapid.model.DownloadFile.getState(DownloadFile.java:181)

(Some null message when calling getter)

Full stack trace from our application:

http://pastebin.com/YfL2Vnsp

 

Cabot
Cabot's picture
Joined on 2012-10-22
User Post #10
#2
2012-11-05 04:24

This could be the result of sharing entities by different threads.

It may help if you could provide a test application that consistently causes this exception (even without isolating it into a small test case).

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)
support
support's picture
Joined on 2010-05-03
User Post #1,318

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