Jmxterm does not start with Java 11 (NullPointerException) Edit

Bug #1800460 reported by barbosadaniel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Jmxterm
New
Undecided
Unassigned

Bug Description

root@pos034643:~# java -jar /home/daniel/Downloads/jmxterm-1.0.0-uber.jar
java.lang.NullPointerException
 at org.codehaus.classworlds.Launcher.getEnhancedMainMethod(Launcher.java:195)
 at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:294)
 at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
 at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
 at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:566)
 at org.codehaus.classworlds.uberjar.boot.Bootstrapper.bootstrap(Bootstrapper.java:209)
 at org.codehaus.classworlds.uberjar.boot.Bootstrapper.main(Bootstrapper.java:116)
root@pos034643:~#

root@pos034643:~# java -version
java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

root@pos034643:~# uname -a
Linux pos034643 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
root@pos034643:~#

Jmxterm works with Java 8:

root@pos034643:~# /usr/lib/jvm/java-8-oracle/jre/bin/java -jar /home/daniel/Downloads/jmxterm-1.0.0-uber.jar
Welcome to JMX terminal. Type "help" for available commands.
$>quit
#bye

root@pos034643:~# /usr/lib/jvm/java-8-oracle/jre/bin/java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

Revision history for this message
Yuriy Vidineev (adeptg) wrote :

I've came here from Google search. I think it was fixed in upstream
https://github.com/jiaqi/jmxterm/commit/55dca9f2ec82246e6d7c573010a55af874f39bc4

jmxterm 1.0.1 works on OpenJDK 11 for me

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.