This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Exception occured twice today as I was cutting and pasting code.
Created attachment 14490 [details] ide.log file
java.lang.IndexOutOfBoundsException: Invalid line index=6417 >= lineCount=6416 at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:54) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:124) at org.openide.text.DocumentLine$Set.getCurrent(DocumentLine.java:754) at org.netbeans.modules.java.ParserAnnotation.attachToLineSet(ParserAnnotation.java:133) at org.netbeans.modules.java.JavaEditor.processAnnotations(JavaEditor.java:449) at org.netbeans.modules.java.JavaEditor.access$300(JavaEditor.java:77) [catch] at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:297) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) 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) java.lang.IndexOutOfBoundsException: Invalid line index=6414 >= lineCount=6414 at org.netbeans.editor.LineRootElement.getElement(LineRootElement.java:54) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:124) at org.openide.text.DocumentLine$Set.getCurrent(DocumentLine.java:754) at org.netbeans.modules.java.ParserAnnotation.attachToLineSet(ParserAnnotation.java:133) at org.netbeans.modules.java.JavaEditor.processAnnotations(JavaEditor.java:449) at org.netbeans.modules.java.JavaEditor.access$300(JavaEditor.java:77) [catch] at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:297) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178) at java.awt.EventQueue.dispatchEvent(EventQueue.java:454) 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)
already fixed *** This issue has been marked as a duplicate of 33165 ***