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 154015 - IllegalArgumentException: setSelectedIndex: 0 out of bounds
Summary: IllegalArgumentException: setSelectedIndex: 0 out of bounds
Status: RESOLVED DUPLICATE of bug 154014
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-27 12:49 UTC by m_potociar
Modified: 2008-12-11 03:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 6998


Attachments
stacktrace (952 bytes, text/plain)
2008-11-27 12:50 UTC, m_potociar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description m_potociar 2008-11-27 12:49:51 UTC
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)
Comment 1 m_potociar 2008-11-27 12:50:00 UTC
Created attachment 74237 [details]
stacktrace
Comment 2 Samaresh Panda 2008-12-11 03:41:15 UTC

*** This issue has been marked as a duplicate of 154014 ***