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)
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Petr Hejl
URL:
Keywords: JDK_8
: 225815 (view as bug list)
Depends on:
Blocks:
 
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


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

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

Stacktrace: 
java.lang.NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)
   at java.lang.Class.getDeclaredMethod(Class.java:1952)
   at org.netbeans.processtreekiller.ProcessTreeKiller$Unix.<clinit>(ProcessTreeKiller.java:270)
   at org.netbeans.processtreekiller.ProcessTreeKiller.get(ProcessTreeKiller.java:133)
   at org.netbeans.modules.extexecution.destroy.ProcessTreeDestroyPerformer.destroy(ProcessTreeDestroyPerformer.java:59)
   at org.netbeans.api.extexecution.ExternalProcessSupport.destroy(ExternalProcessSupport.java:88)
   at org.netbeans.modules.extexecution.WrapperProcess.destroy(WrapperProcess.java:93)
Comment 1 augcampos 2012-10-04 02:02:56 UTC
Created attachment 125340 [details]
stacktrace
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 
see http://statistics.netbeans.org/exceptions/detail.do?id=193011
Comment 4 vinaykrsharma1986 2013-01-28 05:34:44 UTC
Created attachment 130706 [details]
stacktrace
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]
stacktrace

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]
stacktrace

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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/12d129e52544
User: Petr Hejl <phejl@netbeans.org>
Log: #219482 - NoSuchMethodException: java.lang.UNIXProcess.destroyProcess(int)