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 219482 - NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)
Summary: NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
Keywords: JDK_8
: 225815 (view as bug list)
Depends on:
Reported: 2012-10-04 02:02 UTC by augcampos
Modified: 2013-09-25 02:05 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 193011

stacktrace (1.03 KB, text/plain)
2012-10-04 02:02 UTC, augcampos
stacktrace (1.03 KB, text/plain)
2013-01-28 05:34 UTC, vinaykrsharma1986
stacktrace (1.03 KB, text/plain)
2013-05-23 03:47 UTC, _ tboudreau
stacktrace (1.03 KB, text/plain)
2013-09-16 09:27 UTC, Vladimir Riha

Note You need to log in before you can comment on or make changes to this bug.
Description augcampos 2012-10-04 02:02:52 UTC
Build: NetBeans IDE Dev (Build 201210030002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b02, Java(TM) SE Runtime Environment, 1.8.0-ea-b58
OS: Linux

java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)
   at java.lang.Class.getDeclaredMethod(
   at org.netbeans.processtreekiller.ProcessTreeKiller$Unix.<clinit>(
   at org.netbeans.processtreekiller.ProcessTreeKiller.get(
   at org.netbeans.modules.extexecution.destroy.ProcessTreeDestroyPerformer.destroy(
   at org.netbeans.api.extexecution.ExternalProcessSupport.destroy(
   at org.netbeans.modules.extexecution.WrapperProcess.destroy(
Comment 1 augcampos 2012-10-04 02:02:56 UTC
Created attachment 125340 [details]
Comment 2 Milos Kleint 2012-10-05 06:29:07 UTC
something apparently changed in 1.8 jdk (java.lang.UNIXProcess.destroyProcess)
the library we use should be rewritten eventually.
Comment 3 Exceptions Reporter 2013-01-12 20:38:27 UTC
This bug already has 5 duplicates 
Comment 4 vinaykrsharma1986 2013-01-28 05:34:44 UTC
Created attachment 130706 [details]
Comment 5 Petr Hejl 2013-03-27 21:28:54 UTC
*** Bug 225815 has been marked as a duplicate of this bug. ***
Comment 6 _ tboudreau 2013-05-23 03:47:13 UTC
Created attachment 134776 [details]

Clicked the stop button on an output tab.  Looks like UnixProcess.destroy() does not exist on JDK 8.
Comment 7 Vladimir Riha 2013-09-16 09:27:04 UTC
Created attachment 140114 [details]

Happened upon IDE start with fresh user dir when I tried to create new HTML5 sample project Responsive Rabbits
Comment 8 Vladimir Riha 2013-09-16 11:57:32 UTC
Increasing to P2 as it happens on each IDE start with HTML5 project opened. Reproducible in both RC1 and trunk
Comment 9 Petr Hejl 2013-09-24 08:46:06 UTC
Fixed in web-main 12d129e52544. Vlado, let me know if you want this to be fixed for 7.4.
Comment 10 Vladimir Riha 2013-09-24 08:48:49 UTC
Thank you, I don't think it is necessary to fix it in 7.4 as JDK8 is not officially supported for 7.4 and has not yet been released.
Comment 11 _ tboudreau 2013-09-24 10:05:14 UTC
If you want people to try JDK 8 in general, basic things like starting and killing processes need to work.  It would be very nice to have it soon.
Comment 12 Quality Engineering 2013-09-25 02:05:57 UTC
Integrated into 'main-silver', will be available in build *201309250002* on (upload may still be in progress)

User: Petr Hejl <>
Log: #219482 - NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)