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.
Build: NetBeans IDE 7.3 RC1 (Build 201301240957) VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20 OS: Windows 7 User Comments: rburkhead: Compiling a single file. The file contents were not saved when I hit the compile menu item, but were saved by the compile action (at least the indicator on the tab suggested it was). rburkhead: Cutting and pasting methods from one class to another. hallyhaa: CTRL-X to cut out a portion of HTML from an HTML file. Stacktrace: java.lang.IndexOutOfBoundsException: Invalid line index=1 >= lineCount=1 at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:84) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateLineEndOffset(HighlightsViewFactory.java:301) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createView(HighlightsViewFactory.java:202) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:898) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:735) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createReplaceRepaintViews(ViewBuilder.java:689)
Created attachment 131081 [details] stacktrace
Created attachment 131093 [details] stacktrace
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=198303
Unfortunately even after issue #225451 was fixed apparently the IOOBE may still happen.