Bug 63369 - Unable to launch GUI mode if using DisplayLink driver for external monitors
Summary: Unable to launch GUI mode if using DisplayLink driver for external monitors
Status: REOPENED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 5.0
Hardware: Macintosh All
: P2 normal (vote)
Target Milestone: JMETER_5.0
Assignee: JMeter issues mailing list
URL:
Keywords: NoFeedbackFromReporter
Depends on:
Blocks:
 
Reported: 2019-04-20 13:55 UTC by Jodster
Modified: 2019-05-14 13:39 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jodster 2019-04-20 13:55:48 UTC
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
Comment 1 Felix Schumacher 2019-04-23 19:28:39 UTC
This seems to be a problem with JVM on MacOS and DisplayLink. Have you tried other versions of JVMs?
Comment 2 Philippe Mouawad 2019-05-13 12:51:38 UTC
(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
Comment 3 Jodster 2019-05-14 13:39:23 UTC
with JVM? I have tried downgrading to 1.8.0_191 and still no luck