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 249413 - IndexOutOfBoundsException: Index: 1, Size: 0
Summary: IndexOutOfBoundsException: Index: 1, Size: 0
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: DD Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-17 18:41 UTC by wjdhamilton
Modified: 2016-07-07 08:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 214303


Attachments
stacktrace (3.12 KB, text/plain)
2014-12-17 18:41 UTC, wjdhamilton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wjdhamilton 2014-12-17 18:41:43 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b21, Java(TM) SE Runtime Environment, 1.8.0_20-ea-b22
OS: Windows 7

User Comments:
wjdhamilton: clicked add role name in web.xml, types user into name, and clicked add




Stacktrace: 
java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
   at java.util.ArrayList.rangeCheckForAdd(ArrayList.java:661)
   at java.util.ArrayList.add(ArrayList.java:473)
   at org.netbeans.modules.j2ee.ddloaders.web.multiview.SecurityRoleTableModel.addRow(SecurityRoleTableModel.java:103)
   at org.netbeans.modules.j2ee.ddloaders.web.multiview.SecurityRoleTablePanel$TableActionListener.actionPerformed(SecurityRoleTablePanel.java:155)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
Comment 1 wjdhamilton 2014-12-17 18:41:44 UTC
Created attachment 151152 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 08:56:33 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss