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 20080922 This is a regression since this action was working before. - create a uml project - create a package from project tree - right click on the package and select Apply Design Pattern... - follow thru the wizard to select any design pattern - once Finish button is clicked, the following error popped up. See attached ide log file. java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread at java.awt.EventQueue.invokeAndWait(EventQueue.java:980) at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1323) at org.netbeans.modules.uml.designpattern.ApplyPatternAction.applyPattern(ApplyPatternAction.java:183) at org.netbeans.modules.uml.designpattern.ApplyPatternAction.apply(ApplyPatternAction.java:161) at org.netbeans.modules.uml.designpattern.ApplyPatternAction.performAction(ApplyPatternAction.java:112) at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:581) ...
Created attachment 70240 [details] ide log file
look like there was no changes in 4 months, fix http://hg.netbeans.org/uml-main/rev/c0e637b25a54
http://hg.netbeans.org/uml-main/rev/1b6f919eddb2 alternative fix
Reviewed. The changes have been implemented.
verified in build 20080923.
Integrated into 'main-golden', will be available in build *200809240201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/c0e637b25a54 User: sergeyp@netbeans.org Log: fix #147939 new thread for design pattern applying
Integrated into 'main-golden', will be available in build *200809250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1b6f919eddb2 User: sergeyp@netbeans.org Log: fix #147939 fix without creation of new thread
*** Issue 148666 has been marked as a duplicate of this issue. ***