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 150063 - [65cat] java.lang.ArrayIndexOutOfBoundsException: -1
Summary: [65cat] java.lang.ArrayIndexOutOfBoundsException: -1
Status: RESOLVED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Lou Dasaro
URL:
Keywords:
: 150317 151580 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-14 11:03 UTC by rajivderas
Modified: 2015-11-08 03:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (181.80 KB, text/plain)
2008-10-14 11:04 UTC, rajivderas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rajivderas 2008-10-14 11:03:35 UTC
1) In Dev build 55 Right click and select python project properties
2) In Project properties dialog click the Remove button twice and you will get the following error:

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(CustomizerPython
Path.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)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
	at java.awt.Component.processMouseEvent(Component.java:6099)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
	at java.awt.Component.processEvent(Component.java:5864)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4296)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2458)
	at java.awt.Component.dispatchEvent(Component.java:4296)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Comment 1 rajivderas 2008-10-14 11:04:23 UTC
Created attachment 71740 [details]
log file
Comment 2 Lou Dasaro 2015-04-08 04:56:46 UTC
*** Bug 150317 has been marked as a duplicate of this bug. ***
Comment 3 Lou Dasaro 2015-04-08 04:57:38 UTC
*** Bug 151580 has been marked as a duplicate of this bug. ***
Comment 4 Lou Dasaro 2015-11-08 03:36:51 UTC
Unable to duplicate. Static analysis confirmed appropriate guard logic was added subsequent to this report. Marking as Fixed...