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 74236 [details] stacktrace
*** Issue 154015 has been marked as a duplicate of this issue. ***
Build: NetBeans IDE Dev (Build 200904011705) VM: OpenJDK 64-Bit Server VM, 14.0-b08, IcedTea6 1.4 (6b14-0ubuntu2~ppa2) Runtime Environment, 1.6.0_0-b14 OS: Linux, 2.6.27-14-generic, amd64 User Comments: Stacktrace: java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:620) 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:1259) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:586) at org.netbeans.modules.xml.refactoring.ui.MoveFilePanel.initValues(MoveFilePanel.java:147)
Created attachment 81102 [details] stacktrace
This issue already has 8 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=6998
This issue already has 9 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=6998
This issue already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=6998
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss