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.
This issue was reported manually by sdedic. It already has 6 duplicates Build: NetBeans IDE Dev (Build 201502120001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13 OS: Windows 7 User Comments: terje7601: Editing a pom.xml file KhArtNJava: fg KhArtNJava: bcvb GUEST: No idea GUEST: Sorry... unable to determine when it happened. KhArtNJava: sdf Stacktrace: java.lang.IndexOutOfBoundsException: Invalid line index=35 >= lineCount=29 at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:91) at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:923) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1386) at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:898) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:201) at org.openide.text.DocumentLine$Set.offset(DocumentLine.java:1065)
Created attachment 152108 [details] stacktrace
Created attachment 152850 [details] stacktrace Working on a Java project (I think I just deleted some lines in the pom.xml)
Created attachment 153196 [details] stacktrace Not sure.
fixed in jet-main #99bd1f834e25
Integrated into 'main-silver', will be available in build *201504160452* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/99bd1f834e25 User: Tomas Stupka <tstupka@netbeans.org> Log: Issue #250569 - IndexOutOfBoundsException: Invalid line index=35 >= lineCount=29