When using a docking station/external monitor that uses the DisplayLink driver, Jmeter gui fails to launch. I have tried several versions of jmeter all with the same result. A similar issue was documented: https://github.com/oracle/visualvm/issues/84 Machine Specs: MacBook Pro 2015 with Mojave (Ver 10.14.4) Java 1.8.0_211 JMeter - have tried 5.0 and 5.1.1 DisplayLink driver 5.1.1 Docking stations: Dell doc and Plugable USB 3.0 Steps: connect to a docking station that uses the DisplayLink driver. Try to launch jmeter gui Expected: jmeter gui launches Actual: An error occurred: null Log file shows: 2019-04-20 07:46:35,961 ERROR o.a.j.JMeter: An error occurred: java.lang.NullPointerException: null at java.awt.Window.init(Window.java:497) ~[?:1.8.0_211] at java.awt.Window.<init>(Window.java:537) ~[?:1.8.0_211] at java.awt.Frame.<init>(Frame.java:420) ~[?:1.8.0_211] at java.awt.Frame.<init>(Frame.java:385) ~[?:1.8.0_211] at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1763) ~[?:1.8.0_211] at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1838) ~[?:1.8.0_211] at javax.swing.JWindow.<init>(JWindow.java:187) ~[?:1.8.0_211] at javax.swing.JWindow.<init>(JWindow.java:139) ~[?:1.8.0_211] at org.apache.jmeter.SplashScreen.<init>(SplashScreen.java:45) ~[ApacheJMeter_core.jar:5.1.1 r1855137] at org.apache.jmeter.JMeter.startGui(JMeter.java:375) ~[ApacheJMeter_core.jar:5.1.1 r1855137] at org.apache.jmeter.JMeter.start(JMeter.java:544) [ApacheJMeter_core.jar:5.1.1 r1855137] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_211] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_211] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_211] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_211] at org.apache.jmeter.NewDriver.main(NewDriver.java:253) [ApacheJMeter.jar:5.1.1 r1855137] Workaround: dont use a docking station
This seems to be a problem with JVM on MacOS and DisplayLink. Have you tried other versions of JVMs?
(In reply to Felix Schumacher from comment #1) > This seems to be a problem with JVM on MacOS and DisplayLink. Have you tried > other versions of JVMs? https://www.displaylink.org/forum/showthread.php?t=66114 https://stackoverflow.com/questions/53216725/mac-os-and-java-lang-nullpointerexception-at-java-awt-window-initwindow-java49
with JVM? I have tried downgrading to 1.8.0_191 and still no luck