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 251812

Summary: Under OS/X when a test fails with an exception during a Maven build the underlying process is not terminated
Product: java Reporter: mikekarrys
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jungi
Priority: P3    
Version: 8.0.2   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

Description mikekarrys 2015-04-14 03:31:42 UTC
Product Version = NetBeans IDE 8.0.2 (Build 201411181905)
Operating System = Mac OS X version 10.10.2 running on x86_64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02

When a Maven build is run and a test is run during the build, in this case TestNG, and it fails with an exception when the progress bar Cancel is select (located in the status line at the bottom of NetBeans) the progress bar goes away but the test process remains running the background and has to be kill via a Terminal session with "kill -9 <process id>". This does not happen under Windows.
Comment 1 mikekarrys 2015-04-14 03:31:46 UTC
Created attachment 153181 [details]
IDE log
Comment 2 Theofanis Oikonomou 2015-09-14 13:44:14 UTC
I cannot reproduce on NetBeans IDE Dev (Build 20150914-448dc3b109e9). Whenever I click the Cancel process from the progress bar it stops the build process. Please try a latest build and reopen if it still happens for you ideally attaching a sample project that shows this behavior. Thank you for reporting