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 172146 - IllegalStateException: The combo-box must be empty.
Summary: IllegalStateException: The combo-box must be empty.
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Marian Petras
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 10:09 UTC by Jaromir Uhrik
Modified: 2009-09-20 03:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 158428


Attachments
stacktrace (3.12 KB, text/plain)
2009-09-14 10:09 UTC, Jaromir Uhrik
Details
stacktrace (2.37 KB, text/plain)
2009-09-17 11:58 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-09-14 10:09:02 UTC
Build: NetBeans IDE Dev (Build 200909132344)
VM: Java HotSpot(TM) Client VM, 1.5.0_20-141, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02-315
OS: Mac OS X, 10.5.8, i386

User Comments:
juhrik: -logged in to kenai
-opened a project and got the sources from kenai
-made a change in sources and saved the source
-went to Team>Export Diff Patch
-->> the  exception appeared in exception dialog



Stacktrace: 
java.lang.IllegalStateException: The combo-box must be empty.
        at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.checkOldComboBoxModel(RepositoryComboSupport.java:196)
        at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.<init>(RepositoryComboSupport.java:179)
        at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.setup(RepositoryComboSupport.java:164)
        at org.netbeans.modules.bugtracking.bridge.exportdiff.AttachPanel.init(AttachPanel.java:72)
        at org.netbeans.modules.bugtracking.bridge.exportdiff.AttachIssueProvider.createComponent(AttachIssueProvider.java:99)
        at org.netbeans.modules.versioning.util.ExportDiffSupport.initializePanels(ExportDiffSupport.java:125)
Comment 1 Jaromir Uhrik 2009-09-14 10:09:07 UTC
Created attachment 87584 [details]
stacktrace
Comment 2 Jaromir Uhrik 2009-09-14 10:15:51 UTC
Since the exporting patches doesn't work completely due to this issue I am increasing the priority to P1.
Comment 3 Marian Petras 2009-09-14 11:01:48 UTC
Fixed.

The combo-box in question was not empty, indeed. It was pre-filled with sample items ("Item 1", "Item 2", Item 3", Item
4") by the form editor. I simply removed the code that added these items.

Changeset:
e53f7d8c34ba
Comment 4 Michel Graciano 2009-09-15 17:24:29 UTC
Which repository did you push it?
Comment 5 Marian Petras 2009-09-16 13:39:30 UTC
I pushed it today at about 11:20 CEST (9:20 GMT). It is in repository main-silver now - it got an e-mail notification
about the integration at 2:08 CEST (12:08 GMT).
Comment 6 Peter Pis 2009-09-17 11:58:38 UTC
Build: NetBeans IDE Dev (Build 200909151512)
VM: Java HotSpot(TM) Client VM, 1.5.0_20-141, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_20-b02-315
OS: Mac OS X, 10.5.8, i386

User Comments: 


Stacktrace: 
java.lang.IllegalStateException: The combo-box must be empty.
        at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.checkOldComboBoxModel(RepositoryComboSupport.java:196)
        at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.<init>(RepositoryComboSupport.java:179)
        at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.setup(RepositoryComboSupport.java:164)
        at org.netbeans.modules.bugtracking.bridge.exportdiff.AttachPanel.init(AttachPanel.java:72)
        at org.netbeans.modules.bugtracking.bridge.exportdiff.AttachIssueProvider.createComponent(AttachIssueProvider.java:99)
        at org.netbeans.modules.versioning.util.ExportDiffSupport.initializePanels(ExportDiffSupport.java:125)
Comment 7 Peter Pis 2009-09-17 11:58:42 UTC
Created attachment 87842 [details]
stacktrace
Comment 8 Quality Engineering 2009-09-18 22:51:37 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e53f7d8c34ba
User: Marian Petras <mpetras@netbeans.org>
Log: fixed bug #172146 - "IllegalStateException: The combo-box must be empty."
Comment 9 Michel Graciano 2009-09-20 03:26:00 UTC
v. 200909190201