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 154338 - IllegalArgumentException: setSelectedIndex: 0 out of bounds
Summary: IllegalArgumentException: setSelectedIndex: 0 out of bounds
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Svata Dedic
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 13:06 UTC by borisjan
Modified: 2015-02-04 03:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 143387


Attachments
stacktrace (2.57 KB, text/plain)
2008-12-02 13:06 UTC, borisjan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description borisjan 2008-12-02 13:06:25 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments:
borisjan: moving a file in the Projects window by drag-and-drop'ing



Stacktrace: 
java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds
        at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:603)
        at org.netbeans.modules.xml.refactoring.ui.CopyPanel.updateRoots(CopyPanel.java:386)
        at org.netbeans.modules.xml.refactoring.ui.CopyPanel.actionPerformed(CopyPanel.java:304)
        at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1242)
        at javax.swing.JComboBox.setSelectedItem(JComboBox.java:569)
        at org.netbeans.modules.xml.refactoring.ui.CopyPanel.initValues(CopyPanel.java:143)
Comment 1 borisjan 2008-12-02 13:06:33 UTC
Created attachment 74398 [details]
stacktrace
Comment 2 Samaresh Panda 2008-12-02 14:29:37 UTC
Sonali, please take a minute to evaluate.
Comment 3 Quality Engineering 2015-02-04 03:37:32 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.