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.

Bug 249993

Summary: Use Kill Server on context menu of WildFly Server locks up NetBeans
Product: serverplugins Reporter: MackSix
Component: WildFlyAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: hof, MackSix, phejl
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: VisualVM Thread Dump

Description MackSix 2015-01-24 05:35:38 UTC
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)
Comment 1 Petr Hejl 2015-06-09 09:36:37 UTC
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.
Comment 2 Petr Hejl 2016-05-20 10:15:44 UTC
Fixed in web-main 878cc1b163fc.
Comment 3 Quality Engineering 2016-05-21 01:57:50 UTC
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