You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently dealing with a bug which happens to occur in a static initializer. The stack trace shows the stack extends past java.lang.Class.forName(), and crashes in the loaded class, but ODB does not step into the classloading, so I can't see the exact circumstances of the crash. (I'm using Java 8.)
The text was updated successfully, but these errors were encountered:
public class Main2
{
public static class SomeClass
{
static
{
Double notNull = null;
notNull.doubleValue();
}
}
public static void main( String[] args )
{
SomeClass sc = new SomeClass();
}
}
ODB shows that there was a crash, but only that it originated from somewhere on the SomeClass sc = new SomeClass(); line. It does not show the execution of the static initializer lines.
Having delved a little into the code of ODB, I now suspect fixing this to be very difficult. I could be mistaken, though.
I'm currently dealing with a bug which happens to occur in a static initializer. The stack trace shows the stack extends past
java.lang.Class.forName()
, and crashes in the loaded class, but ODB does not step into the classloading, so I can't see the exact circumstances of the crash. (I'm using Java 8.)The text was updated successfully, but these errors were encountered: