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.
Steps to reproduce: 1. Start IDE. 2. Make sure that some Bugzilla Issue Tracker is registered. 3. Invoke Find Issue action => the window is opened and the loading of server data is started. 4. Close the window before the loading finishes (e.g. as soon as possible). (I know, it doesn't look like a normal usage, but it happened to me when I accidentaly opened wrong(=Find Issues) window) 5. Open the window again => the Product, Component, etc. lists are empty. Alternatively play the same game with Report as Issue window. The following exception is thrown in step 5 then: java.lang.IllegalArgumentException: setSelectedIndex: 0 out of bounds at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:595) at org.netbeans.modules.bugzilla.issue.IssuePanel.reloadForm(IssuePanel.java:208) at org.netbeans.modules.bugzilla.issue.IssuePanel.setIssue(IssuePanel.java:169) at org.netbeans.modules.bugzilla.issue.IssueController.<init>(IssueController.java:59) at org.netbeans.modules.bugzilla.issue.BugzillaIssue.getController(BugzillaIssue.java:240) at org.netbeans.modules.bugtracking.ui.issue.IssueTopComponent$5.run(IssueTopComponent.java:307) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
When the window is closed then BugzillaCommand in BugzillaConfiguration.create() is interrupted, but cmd.hasFailed() still returns false and BugzillaConfiguration with null RepositoryConfiguration is created.
Fixed. Modified file: http://hg.netbeans.org/cdev/rev/31300b3f0340