Unable to launch GUI mode if using DisplayLink driver for external monitors
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.3k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 5
Description
**Jodster** ([Bug 63369](https://bz.apache.org/bugzilla//show_bug.cgi?id=63369&redirect=false)):
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
Severity: normal
OS: All
Contributor guide
Research direction
Start with org.apache.jmeter.SplashScreen at SplashScreen.java:45 and the JMeter.startGui entry point in JMeter.java:375, using the supplied Java AWT stack trace to investigate startup under a DisplayLink docking setup. Reproduce the failure with the listed Java and macOS versions; done means the JMeter GUI launches instead of raising the reported NullPointerException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, macos
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100