Fixed: #1636 Nullpointer exception on empty editorpane

This commit is contained in:
Jindra Petřík
2021-03-12 22:12:39 +01:00
parent 67dc925d8e
commit 277aa6c59e
2 changed files with 5 additions and 1 deletions
@@ -416,6 +416,9 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL
Trait currentTrait = null;
int currentMethod = -1;
ABC abc = getABC();
if (abc == null) {
return -1;
}
if (tm != null) {
int mi = (int) tm.getProperties().index;