java.lang.ArrayIndexOutOfBoundsException: -1 at java.util.ArrayList.remove(ArrayList.java:390) at org.netbeans.modules.python.core.ui.models.PathListModel.moveDown(PathListModel.java:52) at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.moveDownJavaPathActionPerformed(PythonPlatformPanel.java:498) at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.access$1100(PythonPlatformPanel.java:38) at org.netbeans.modules.python.platform.panels.PythonPlatformPanel$12.actionPerformed(PythonPlatformPanel.java:294) 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:6134) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899) at java.awt.Container.processEvent(Container.java:2023) at java.awt.Component.dispatchEventImpl(Component.java:4501) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4301) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:3965) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:3895) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178) at java.awt.Dialog$1.run(Dialog.java:1047) at java.awt.Dialog$3.run(Dialog.java:1099) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.awt.Dialog.show(Dialog.java:1097) at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:867) at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:901) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:889) at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:109) at org.openide.util.Mutex.doEventAccess(Mutex.java:1355) at org.openide.util.Mutex.readAccess(Mutex.java:268) at org.netbeans.core.windows.services.NbPresenter.show(NbPresenter.java:874) at java.awt.Component.show(Component.java:1447) at java.awt.Component.setVisible(Component.java:1400) at java.awt.Window.setVisible(Window.java:824) at java.awt.Dialog.setVisible(Dialog.java:987) at org.netbeans.modules.python.platform.panels.PythonPlatformPanel.showPlatformManager(PythonPlatformPanel.java:561) at org.netbeans.modules.python.platform.PythonManagerAction.performAction(PythonManagerAction.java:15) at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:118) at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77) at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:114) 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.AbstractButton.doClick(AbstractButton.java:357) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1225) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1266) at java.awt.Component.processMouseEvent(Component.java:6134) at javax.swing.JComponent.processMouseEvent(JComponent.java:3265) at java.awt.Component.processEvent(Component.java:5899) at java.awt.Container.processEvent(Container.java:2023) at java.awt.Component.dispatchEventImpl(Component.java:4501) at java.awt.Container.dispatchEventImpl(Container.java:2081) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.LightweightDispatcher.retargetMouseEvent(LightweightDispatcher.java:4301) at java.awt.LightweightDispatcher.processMouseEvent(LightweightDispatcher.java:3965) at java.awt.LightweightDispatcher.dispatchEvent(LightweightDispatcher.java:3895) at java.awt.Container.dispatchEventImpl(Container.java:2067) at java.awt.Window.dispatchEventImpl(Window.java:2458) at java.awt.Component.dispatchEvent(Component.java:4331) at java.awt.EventQueue.dispatchEvent(EventQueue.java:599) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) 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)