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 150107 - [65cat] ArrayIndexOutOfBoundsException: -1
Summary: [65cat] ArrayIndexOutOfBoundsException: -1
Status: RESOLVED DUPLICATE of bug 150105
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Dev (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Kovalsky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 15:50 UTC by sunbiz
Modified: 2011-11-18 19:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 127834


Attachments
stacktrace (6.00 KB, text/plain)
2008-10-14 15:50 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-10-14 15:50:17 UTC
Build: NetBeans IDE Dev (Build 200810100201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Windows Vista, 6.0, x86

User Comments:
sunbiz: If no platforms are in list and remove button is pressed this exception is thrown



Stacktrace: 
java.lang.ArrayIndexOutOfBoundsException: -1
        at java.util.ArrayList.get(ArrayList.java:324)
        at net.java.dev.nbpython.platform.models.PythonPlatformListModel.getElementAt(PythonPlatformListModel.java:25)
        at net.java.dev.nbpython.platform.panels.PythonPlatformPanel.removePlatformActionPerformed(PythonPlatformPanel.java:441)
        at net.java.dev.nbpython.platform.panels.PythonPlatformPanel.access$200(PythonPlatformPanel.java:38)
        at net.java.dev.nbpython.platform.panels.PythonPlatformPanel$3.actionPerformed(PythonPlatformPanel.java:117)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Comment 1 sunbiz 2008-10-14 15:50:25 UTC
Created attachment 71778 [details]
stacktrace
Comment 2 Jaromir Uhrik 2008-10-15 12:49:24 UTC
Reassigning to the proper component.
Comment 3 Marian Mirilovic 2011-11-18 19:12:15 UTC

*** This bug has been marked as a duplicate of bug 150105 ***