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 exists in FFJ Builf 020502. How to reproduce: 1. Call File->Mount Filesystem in the main menu 2. Select Local Directory node and press <Next> 3. Double click on the directory containing small number of subdirs - NO nodes should be SELECTED(blue filled rectangle) or PRESELECTED (blue non-filled rectangle around any of node). This happens for SOME subdirs only (usually for dirs with less than 3 subdirs). 4. Press <Shift> key and select the FIRTS dir node in the list. Observe the following exception after that: Fri May 03 20:10:30 PDT 2002: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2 java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 2 at java.util.Vector.get(Vector.java:713) at javax.swing.plaf.basic.BasicDirectoryModel.getElementAt (BasicDirectoryModel.java:143) at javax.swing.JList.getSelectedValues (JList.java:1774) at javax.swing.plaf.metal.MetalFileChooserUI$11.valueChanged (MetalFileChooserUI.java:922) at javax.swing.JList.fireSelectionValueChanged (JList.java:1318) at javax.swing.JList$ListSelectionHandler.valueChanged (JList.java:1332) at javax.swing.DefaultListSelectionModel.fireValueChanged (DefaultListSelectionModel.java:187) at javax.swing.DefaultListSelectionModel.fireValueChanged (DefaultListSelectionModel.java:157) at javax.swing.DefaultListSelectionModel.setValueIsAdjusting (DefaultListSelectionModel.java:552) at javax.swing.JList.setValueIsAdjusting (JList.java:1670) at javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseR eleased(BasicListUI.java:1370) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:228) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:227) at java.awt.AWTEventMulticaster.mouseReleased (AWTEventMulticaster.java:227) at java.awt.Component.processMouseEvent (Component.java:5021) at java.awt.Component.processEvent (Component.java:4818) at java.awt.Container.processEvent (Container.java:1380) at java.awt.Component.dispatchEventImpl (Component.java:3526) at java.awt.Container.dispatchEventImpl (Container.java:1437) at java.awt.Component.dispatchEvent (Component.java:3367) at java.awt.LightweightDispatcher.retargetMouseEvent (Container.java:3214) at java.awt.LightweightDispatcher.processMouseEvent (Container.java:2929) at java.awt.LightweightDispatcher.dispatchEvent (Container.java:2859) at java.awt.Container.dispatchEventImpl (Container.java:1423) at java.awt.Window.dispatchEventImpl (Window.java:1566) at java.awt.Component.dispatchEvent (Component.java:3367) [catch] at java.awt.EventQueue.dispatchEvent (EventQueue.java:445) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:134) at java.awt.Dialog.show(Dialog.java:524) at org.netbeans.core.NbPresenter.superShow (NbPresenter.java:672) at org.netbeans.core.NbPresenter.run (NbPresenter.java:695) at org.openide.util.Mutex$1.run(Mutex.java:931) at java.awt.event.InvocationEvent.dispatch (InvocationEvent.java:171) at java.awt.EventQueue.dispatchEvent (EventQueue.java:443) at java.awt.EventDispatchThread.pumpOneEventForHierarchy (EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEventsForHierarchy (EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:138) at java.awt.EventDispatchThread.pumpEvents (EventDispatchThread.java:130) at java.awt.EventDispatchThread.run (EventDispatchThread.java:98)
Evaluation: - bug appears only on jdk 1.4, both Netbeans and FFJ - steps to reproduce are precise, exactly as described - this is clearly not a bug in Netbeans or FFJ itself, only nb related code involved in stack trace is creation of dialog. Please file issue against jdk 1.4, then please put link to newly created bug here. It would be the best if you could reproduce problem with plain file chooser (JFileChooser) in some swing demo, that usually helps jdk team to hunt the error. Thanks.
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.