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.
Build: NetBeans IDE Dev (Build cdev-1376-on-090910) 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: I have modified source of kenai project (with subversion repository). Then invoked Subversion|Commit from the context menu of the project node. In Commit dialog I typed a message and then (wanted to close issue) I clicked on "Update Issue" node -->> The exception dialog appeared... Stacktrace: java.lang.IllegalStateException: The combo-box must be empty. at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.checkOldComboBoxModel(RepositoryComboSupport.java:193) at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.<init>(RepositoryComboSupport.java:175) at org.netbeans.modules.bugtracking.util.RepositoryComboSupport.setup(RepositoryComboSupport.java:161) at org.netbeans.modules.bugtracking.vcs.SvnHookImpl.createComponent(SvnHookImpl.java:214) at org.netbeans.modules.subversion.ui.commit.CommitPanel.initHooksPanel(CommitPanel.java:272) at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
Created attachment 87411 [details] stacktrace
For it is not possible to update issue during commits, i am increasing the priority to P2.
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: 7de2fba845c1
Verified in: Product Version: NetBeans IDE Dev (Build cdev-1385-on-090911) Java: 1.5.0_20; Java HotSpot(TM) Client VM 1.5.0_20-141 System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb)
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7de2fba845c1 User: Marian Petras <mpetras@netbeans.org> Log: fixed bug #171880 - "IllegalStateException: The combo-box must be empty."
Reproducible with today's sources. I fixed a few bugs in the SVN sources for http://kenai.com/simplevalidation In the commit dialog, simply click the [+] Update Issue turner and the exception is thrown. See http://statistics.netbeans.org/analytics/exception.do?id=262103
> Reproducible with today's sources. (that is, fresh clone of main/ from 15 hours ago)
Tim, the bug is fixed. I verified the fix has been published to main-golden and main-silver. I searched the sources for a possible cause and did not find any. I ran NetBeans with JDK 1.7.0-ea b57 to verify that JDK 7 does not cause the difference in behaviour and it worked well. Do not you have some binary patches in <nb-home>/ide12/modules/patches?
any update on this? does it work now, or do you still run into the problem? thanks
The issue is fixed which I have verified in: Product Version: NetBeans IDE Dev (Build 200912150200) Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101 System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)