-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPE when try to kill linux process running JDK8 #27
Comments
We just stumbled over this bug in version 0.3.3. Looking at the sources, I expect it can still be found in 0.3.5. |
What JVM are you running? |
We are using the following: /etc/alternatives/java_sdk_1.8.0/bin/java -version I also suspect that that method does not exist in the runtime we are using. There is a javasysmon fork from atlassian, which seems to fix this issue, by executing a kill command instead. Will check that out soon. |
I ran this simple groovy program on oracle jdk-1.8 and jre-1.8.0-openjdk and it fails like your report
error message from openjdk
|
Java 8 has added |
java.lang.RuntimeException: Could not kill process id 5267
at com.jezhumble.javasysmon.LinuxMonitor.killProcess(LinuxMonitor.java:156)
at com.jezhumble.javasysmon.JavaSysMon.killProcess(JavaSysMon.java:242)
...
Caused by: java.lang.NullPointerException
at com.jezhumble.javasysmon.LinuxMonitor.killProcess(LinuxMonitor.java:154)
... 7 more
The text was updated successfully, but these errors were encountered: