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.
[Pilsen FCS CE 010817; jdk1.3.1] Steps to reproduce: 1.Start Update Center wizard and select Manually Downloaded modules 2.Press Next and add some modules 3.Remove the last of them by pressing of the Remove button 4.Hold SHIFT on keyboard and click to some module. Then press Remove button so the exception below wil be shown. Thu Aug 23 19:30:45 CEST 2001: java.lang.ArrayIndexOutOfBoundsException: 1 >= 1 java.lang.ArrayIndexOutOfBoundsException: 1 >= 1 at java.util.Vector.elementAt(Vector.java:417) at javax.swing.DefaultListModel.getElementAt(DefaultListModel.java:70) at javax.swing.JList.getSelectedValues(JList.java:1364) at org.netbeans.modules.autoupdate.SelectModulesPanel.removeButtonActionPerformed (SelectModulesPanel.java:160) at org.netbeans.modules.autoupdate.SelectModulesPanel.access$200 (SelectModulesPanel.java:35) at org.netbeans.modules.autoupdate.SelectModulesPanel$2.actionPerformed (SelectModulesPanel.java:132) at javax.swing.AbstractButton.fireActionPerformed (AbstractButton.java:1450) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed (AbstractButton.java:1504) at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:378) at javax.swing.DefaultButtonModel.setPressed (DefaultButtonModel.java:250) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased (BasicButtonListener.java:216) at java.awt.Component.processMouseEvent(Component.java:3715) at java.awt.Component.processEvent(Component.java:3544) at java.awt.Container.processEvent(Container.java:1164) at java.awt.Component.dispatchEventImpl(Component.java:2593) at java.awt.Container.dispatchEventImpl(Container.java:1213) at java.awt.Component.dispatchEvent(Component.java:2497) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:2451) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) at java.awt.Container.dispatchEventImpl(Container.java:1200) at java.awt.Window.dispatchEventImpl(Window.java:914) at java.awt.Component.dispatchEvent(Component.java:2497) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:131) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
Fixed in main trunk
Reopening the issue - it is easy to reproduced it in dev33 build #200110110100; jdk1.3.1
Hmm, actually its probably bug in JDK. I fired bug to BugParade. Waiting to evaluation..
Fixed in main trunk. I made workaround to be sure previous selection is cleared.
Works in dev33 build #200110150818.
Resolved for 3.3.x or earlier, no new info since then -> closing.