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 154014 - IllegalArgumentException: setSelectedIndex: 0 out of bounds
Summary: IllegalArgumentException: setSelectedIndex: 0 out of bounds
Status: RESOLVED WONTFIX
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:
: 154015 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-11-27 12:48 UTC by m_potociar
Modified: 2016-07-07 09:56 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 6998


Attachments
stacktrace (952 bytes, text/plain)
2008-11-27 12:48 UTC, m_potociar
Details
stacktrace (955 bytes, text/plain)
2009-04-28 17:54 UTC, Exceptions Reporter
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:48:52 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:48:59 UTC
Created attachment 74236 [details]
stacktrace
Comment 2 Samaresh Panda 2008-12-11 03:41:15 UTC
*** Issue 154015 has been marked as a duplicate of this issue. ***
Comment 3 Exceptions Reporter 2009-04-28 17:54:11 UTC
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)
Comment 4 Exceptions Reporter 2009-04-28 17:54:17 UTC
Created attachment 81102 [details]
stacktrace
Comment 5 Exceptions Reporter 2009-09-10 08:03:09 UTC
This issue already has 8 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=6998
Comment 6 Exceptions Reporter 2009-09-10 21:37:48 UTC
This issue already has 9 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=6998
Comment 7 Exceptions Reporter 2009-09-15 01:16:52 UTC
This issue already has 10 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=6998
Comment 8 Martin Balin 2016-07-07 09:56:20 UTC
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