4 comments
Comment actions Permalink

NPE

where: in dialogs (NOT in an text editor)

how to reproduce:
press F5 (=> copy class), and move the caret in the selection


java.lang.NullPointerException
at
net.intellij.plugins.lysosome.LysosomePlugin.selectionChanged(Unknown
Source)
at com.intellij.openapi.editor.impl.t.a(t.java:257)
at com.intellij.openapi.editor.impl.t.setSelection(t.java:14)
at com.intellij.openapi.editor.a.cp.a(cp.java:135)

0
Comment actions Permalink

You are an excellent bug finder Alain. I have uploaded version 1.1.1 with a fix.

Bas

0
Comment actions Permalink

Why dont you compile you code with debug=true? Then the bug hunting can be easier as we can see the linenumber in the stack-traces.

0
Comment actions Permalink

It was just an experiment. I was trying different compilers and settings to see how small I could get the plugin. Accidentally I had left compiling without debug on in the build file. The next version will be with debug info.
But with the entire plugin being just two small source files, it wasn't hard to find the bug even without the debug info:-)

0

Please sign in to leave a comment.