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 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Linux User Comments: GUEST: updating/commenting jsp file YannSteve: ArrayIndexOutOfBoundsException: -1 GUEST: commenting out a large chunk of jsp code GUEST: Selected 148 lines and tried to comment them out franciscocpg: Dont know Stacktrace: java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.elementData(ArrayList.java:371) at java.util.ArrayList.get(ArrayList.java:384) at org.netbeans.modules.web.core.syntax.JspKit$ToggleCommentAction.actionPerformed(JspKit.java:266) at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:339) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1664) at javax.swing.JComponent.processKeyBinding(JComponent.java:2879)
Created attachment 153908 [details] stacktrace
Fixed in web-main 17d5117ac183.
Integrated into 'main-silver', will be available in build *201507110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/17d5117ac183 User: Petr Hejl <phejl@netbeans.org> Log: #252629 - ArrayIndexOutOfBoundsException: -1