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.
REST wizard stays open when generating of classes is already finished. Only on Mac and JDK7u4. To reproduce: - create web project with GlassFish server - open new file wizard - choose "Web Services|RESTful Web Services from Patterns" and click Next - finish wizard - it successfully generates resources but wizard window stays open Product Version = NetBeans IDE 7.1.1 (Build 201203012225) (#a903faa1d680) Operating System = Mac OS X version 10.7.3 running on amd64 Java; VM; Vendor = 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b16; Oracle Corporation
We need to evaluate to know it's a bug on our or JDK side.
Denis, any updates ?
That's a bug inside wizard iterator : dialog is closed outside of AWT thread.
Please verify : I don't have Mac to check. web-main#1fd6979a4638
Integrated into 'main-golden', will be available in build *201203230400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1fd6979a4638 User: Denis Anisimov <ads@netbeans.org> Log: Fix for BZ#209258 - REST wizard stays open when finished.
Created attachment 117663 [details] Screen shot from build 20120402-0d1f642cc319
Still reproducible in build build 20120402-0d1f642cc319 (see screen shot).
I mixed up the progress dialog with wizard dialog. Progress dialog has been closed out of AWT and that fixed in my commit mentioned here. But wizard is not closed explicitly via wizard client ( REST in the case ). Wizard dialog should be closed by Wizards/Dialog system. I can imagine that org.netbeans.modules.websvc.rest.wizard.PatternResourcesIterator.instantiate implementation could be a problem here : Call RestUtils.ensureRestDevelopmentReady(project); shows REST configuration dialog in the same thread as "instantiate" method is called. May be this is source of the issue. But this is just a speculation : the problem is specific for Mac and JDK7 and cannot be reproduced for other platforms/JDKs. So it could be JDK specific bug and I'm not sure about its reason.
cannot reproduce in Product Version: NetBeans IDE Dev (Build 20120403-ff6f2474b6d0) Java: 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b19 System: Mac OS X version 10.7.3 running on amd64; UTF-8; en_US (nb)
(In reply to comment #9) > cannot reproduce in anyone?
cannot reproduce now with JDK 7 u4 b19: Product Version: NetBeans IDE Dev (Build 201204040400) Java: 1.7.0_04-ea; Java HotSpot(TM) 64-Bit Server VM 23.0-b20 System: Mac OS X version 10.7.3 running on amd64; US-ASCII; en_US (nb) User directory: /Users/tomas/Library/Application Support/NetBeans/dev Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
not reproducible in JDK 1.7 u4 build 19, closing