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.
Created attachment 151665 [details] VisualVM Thread Dump 1. Go to Services Window. 2. Right click on WildFly node to invoke context menu. 3. Click "Kill Server" Results: NetBeans locks up. See attached thread dump. Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Java: 1.8.0_25; Java HotSpot(TM) 64-Bit Server VM 25.25-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_25-b18 System: Windows 7 version 6.1 running on amd64; UTF8; en_US (nb)
The code seems to be a bit fragile. It should use at least some common background utils already tested in many situations. See module extexecution.base and class BaseUtilities from openide.util module. And I would also recommend moving it out of AWT.
Fixed in web-main 878cc1b163fc.
Integrated into 'main-silver', will be available in build *201605210002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/878cc1b163fc User: Petr Hejl <phejl@netbeans.org> Log: #249993 - Use Kill Server on context menu of WildFly Server locks up NetBeans