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.

Bug 252629 - ArrayIndexOutOfBoundsException: -1
Summary: ArrayIndexOutOfBoundsException: -1
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-27 19:10 UTC by franciscocpg
Modified: 2015-07-11 02:03 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194174


Attachments
stacktrace (2.95 KB, text/plain)
2015-05-27 19:10 UTC, franciscocpg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description franciscocpg 2015-05-27 19:10:46 UTC
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)
Comment 1 franciscocpg 2015-05-27 19:10:49 UTC
Created attachment 153908 [details]
stacktrace
Comment 2 Petr Hejl 2015-07-10 16:08:30 UTC
Fixed in web-main 17d5117ac183.
Comment 3 Quality Engineering 2015-07-11 02:03:14 UTC
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