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 bug was originally marked as duplicate of bug 235727, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201508120002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16 OS: Windows 7 User Comments: jiriprox: IOOBE when pressing delete while whole text is in rectangular selection Stacktrace: java.lang.IndexOutOfBoundsException: Invalid line index=174 >= lineCount=174 at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:91) at org.netbeans.modules.editor.lib2.RectangularSelectionUtils.removeChar(RectangularSelectionUtils.java:131) at org.netbeans.editor.BaseKit$DeleteCharAction$1.run(BaseKit.java:1816) at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:356) at org.netbeans.editor.BaseKit$DeleteCharAction.actionPerformed(BaseKit.java:1810) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339)
Created attachment 155324 [details] stacktrace