1 comment

Hi Jacques

I got the following exception when I created a new constructor using the standard "Create Constructor" intention from another class.

(Build 1138)


Error message: Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=org.intellij.plugins.junit.UntestedMethodHighlighter$1@173eb96,notifier=null,catchExceptions=false,when=1075898968593] on sun.awt.windows.WToolkit@1700532
java.lang.IndexOutOfBoundsException: Wrong offset: 293

at com.intellij.openapi.editor.b.a.e.a(e.java:17)

at com.intellij.openapi.editor.a.r.a(r.java:6)

at com.intellij.openapi.editor.a.k.getLineNumber(k.java:119)

at org.intellij.plugins.junit.UntestedMethodHighlighter.getMethodStartLineNumber(UntestedMethodHighlighter.java:289)

at org.intellij.plugins.junit.UntestedMethodHighlighter.markMethod(UntestedMethodHighlighter.java:179)

at org.intellij.plugins.junit.UntestedMethodHighlighter.doMarkUntestedMethods(UntestedMethodHighlighter.java:207)

at org.intellij.plugins.junit.UntestedMethodHighlighter.access$000(UntestedMethodHighlighter.java:28)

at org.intellij.plugins.junit.UntestedMethodHighlighter$1.run(UntestedMethodHighlighter.java:106)

at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)

at com.intellij.ide.q.b(q.java:41)

at com.intellij.ide.q.a(q.java:57)

at com.intellij.ide.q.dispatchEvent(q.java:27)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)

0

Please sign in to leave a comment.