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 150331 - [65cat] ArrayIndexOutOfBoundsException: -1
Summary: [65cat] ArrayIndexOutOfBoundsException: -1
Status: VERIFIED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: ardavis26
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-16 07:31 UTC by rajivderas
Modified: 2009-01-15 01:57 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 128666


Attachments
stacktrace (2.59 KB, text/plain)
2008-10-16 07:31 UTC, rajivderas
Details
stacktrace (2.59 KB, text/plain)
2008-10-17 18:31 UTC, rajivderas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-10-16 07:31:04 UTC
Build: NetBeans IDE Dev (Build 20081015193613)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.ArrayList.remove(ArrayList.java:390)
        at org.netbeans.modules.python.core.ui.models.PathListModel.remove(PathListModel.java:40)
        at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath.removePythonPathActionPerformed(CustomizerPythonPath.java:191)
        at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath.access$100(CustomizerPythonPath.java:35)
        at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath$2.actionPerformed(CustomizerPythonPath.java:89)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Comment 1 rajivderas 2008-10-16 07:31:08 UTC
Created attachment 71933 [details]
stacktrace
Comment 2 rajivderas 2008-10-17 18:31:23 UTC
Build: NetBeans IDE 6.5 RC1 (Build 20081017144645)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.ArrayList.remove(ArrayList.java:390)
        at org.netbeans.modules.python.core.ui.models.PathListModel.remove(PathListModel.java:40)
        at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath.removePythonPathActionPerformed(CustomizerPythonPath.java:191)
        at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath.access$100(CustomizerPythonPath.java:35)
        at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath$2.actionPerformed(CustomizerPythonPath.java:89)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Comment 3 rajivderas 2008-10-17 18:31:27 UTC
Created attachment 72147 [details]
stacktrace
Comment 4 ardavis26 2008-10-29 15:57:05 UTC
Added handle in the list model to deal with error
Comment 5 Peter Lam 2008-12-15 05:30:56 UTC
already verified in EA testing.