NullPointerException in __odbGetNumMember

Type: Bug

Version: 2.3.6

Priority: Normal

Status: Closed

Replies: 6

#1

Hi,

When deleting an entity "Mitglied" -> everything works fine.

Trying to delete another one (in a separate transaction) always causes a NullPointer Exception in __odbGetNumMember line 1 of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in our implementation. I am posting the stack trace in the hope that it'll help to figure what's going wrong:

The stack trace may indicate incomplete enhancement of the object model - i.e. some classes are enhanced and some other related classes (e.g. a super class) are not enhanced. If you enhance classes on the fly, it may be possible for some entity classes to be loaded before enhancement, depending on how exactly you do the enhancement.

If this is an incomplete enhancement issue - very little can be done on the ObjectDB side (including in improving the error message), since it is like a partial build of a Java application that produces JVM errors.

But how can that be because we're talking of the same class type.. the one that works at the first time but fails the second time and works third time again so I would doubt that it has to do with enhancement?