| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c6de8e8 commit aa5f199
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -920,7 +920,8 @@ protected String thisName(ThreadReference t) { | |||
| 920 | 920 | if (!t.isSuspended() || t.frameCount() == 0) { | |
| 921 | 921 | return ""; | |
| 922 | 922 | } | |
| 923 | - return t.frame(0).thisObject().referenceType().name(); | ||
| 923 | + ObjectReference ref = t.frame(0).thisObject(); | ||
| 924 | + return ref == null ? "" : ref.referenceType().name(); | ||
| 924 | 925 | ||
| 925 | 926 | } catch (IncompatibleThreadStateException ex) { | |
| 926 | 927 | log(Level.SEVERE, null, ex); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments