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 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.5, i386 User Comments: GUEST: This Exception occured when I moved "/something.xsd" file to /xsd directory in "Files" tab. / is root of project dir. Stacktrace: java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:595) at org.netbeans.modules.xml.refactoring.ui.MoveFilePanel.updateRoots(MoveFilePanel.java:374) at org.netbeans.modules.xml.refactoring.ui.MoveFilePanel.actionPerformed(MoveFilePanel.java:301) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1197) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:561) at org.netbeans.modules.xml.refactoring.ui.MoveFilePanel.initValues(MoveFilePanel.java:147)
Created attachment 74237 [details] stacktrace
*** This issue has been marked as a duplicate of 154014 ***