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.
Product Version = NetBeans IDE Dev (Build 050415) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.5.0_03; Java HotSpot(TM) Client VM 1.5.0_03-b05; Sun Microsystems Inc. Java Home = d:\Java\jdk1.5.0_03\jre After some work with cvslite, I invoked "CVS | Check out" and netbeans had frozen.
Created attachment 21723 [details] thread dump
Should not - locked <0x02ada7d0> (a org.openide.WizardDescriptor) at org.openide.WizardDescriptor$Listener.stateChanged(WizardDescriptor.java:1276) repost to AWT?
I could HACK by invokeLater in my code but I think that that's wizard issue.
Please, call WD.updateState() from AWT. I think it's should be called from event queue only. I'll add an assertion in WD on this place and will document in javadoc. Thanks
Hey Jirka, that's your code that react to my change events! Well, I fire change events from AWT. It's HACK. I can fire from arbitrary thread AFAIK. Checking in src/org/netbeans/modules/versioning/system/cvss/ui/wizards/CheckoutWizard.java; /cvs/javacvs/cvsmodule/src/org/netbeans/modules/versioning/system/cvss/ui/wizards/Attic/CheckoutWizard.java,v <-- CheckoutWizard.java new revision: 1.1.2.23; previous revision: 1.1.2.22 done
Jirka has fix for wizard framework.
Created attachment 21962 [details] Jirka's fix
Patch is ready to integration, only needs to avoid any regression.
Checking in openide/dialogs/src/org/openide/WizardDescriptor.java; /cvs/openide/dialogs/src/org/openide/WizardDescriptor.java,v <-- WizardDescriptor.java new revision: 1.2; previous revision: 1.1 done
I cannot reproduce it anymore. Verified.