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.
Product Version = NetBeans IDE 8.1 RC (Build 201510012201) Operating System = Mac OS X version 10.10.5 running on x86_64 Java; VM; Vendor = 1.8.0_31 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.31-b07 Reproducibility: Happens every time STEPS: * Run a maven project that opens a port, i.e. a spring-boot app * Press the square red stop button in the Output tab * Run it again ACTUAL: * It fails because the first process is still running EXPECTED: * The first process should be stopped and the second one running
Created attachment 156736 [details] IDE log
It is a very annoying bug because it is time consuming to find the process and kill it from the command line. Jenkins knows how to kill entire process trees of builds. You may use the same technique.
As far as I know, Jenkins sets a JOB_ID environment variable to something unique on the parent process. A kill lists all processes that has the same value and kills them.
Reassigned for further evaluation.
could reproduce with guide app at https://spring.io/guides/gs/spring-boot/ - downoad source - open, build and run "complete" app - stop from output view - try to rerun from output view on stop is maven simply calling: Processes.killTree(prcs, env); reassigning for further evaluation ...