We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6de8e8 commit aa5f199Copy full SHA for aa5f199
java/src/processing/mode/java/Debugger.java
@@ -920,7 +920,8 @@ protected String thisName(ThreadReference t) {
920
if (!t.isSuspended() || t.frameCount() == 0) {
921
return "";
922
}
923
- return t.frame(0).thisObject().referenceType().name();
+ ObjectReference ref = t.frame(0).thisObject();
924
+ return ref == null ? "" : ref.referenceType().name();
925
926
} catch (IncompatibleThreadStateException ex) {
927
log(Level.SEVERE, null, ex);
0 commit comments