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.
Build: NetBeans IDE Dev (Build 20081015193613) 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 Stacktrace: java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 at java.util.ArrayList.add(ArrayList.java:367) at org.netbeans.modules.python.core.ui.models.PathListModel.moveDown(PathListModel.java:53) at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath.moveDownPythonPathActionPerformed(CustomizerPythonPath.java:199) at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath.access$300(CustomizerPythonPath.java:35) at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath$4.actionPerformed(CustomizerPythonPath.java:103) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Created attachment 71994 [details] stacktrace
Build: NetBeans IDE 6.5 RC1 (Build 20081021155605) 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: With just one thing in Python Path pressed the Move down button Stacktrace: java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 at java.util.ArrayList.add(ArrayList.java:367) at org.netbeans.modules.python.core.ui.models.PathListModel.moveDown(PathListModel.java:53) at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath.moveDownPythonPathActionPerformed(CustomizerPythonPath.java:199) at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath.access$300(CustomizerPythonPath.java:35) at org.netbeans.modules.python.project.ui.customizer.CustomizerPythonPath$4.actionPerformed(CustomizerPythonPath.java:103) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
Created attachment 72546 [details] stacktrace
*** Bug 150574 has been marked as a duplicate of this bug. ***
*** Bug 165722 has been marked as a duplicate of this bug. ***
Added guard to prevent OOB exception. http://hg.netbeans.org/main/contrib/rev/d1679e74e1cb Available in Dev build after 20150526, and in .151118 release for IDE 8.1