My Oracle Support Banner

SQL Developer Shows NullPointerException On MacOS During Startup Of Swing App With DisplayLink Dock (Doc ID 2621987.1)

Last updated on JUNE 13, 2021

Applies to:

Oracle SQL Developer - Version 18.4 and later
Information in this document applies to any platform.
This is issue on MacBook Pro (15-inch, Late 2016) running on MacOS Mojave 10.14.3 with DisplayLink Driver 5.1 for the Dell Dock D6000.


When you connect the MacBook to the dock and close the lid, then you cannot start any Java Swing based application using JDK8 or JDK11 or JDK12. However, it works when you use JDK7.

Affected applications are Oracle SQL Developer 18.4, jvisualvm or jconsole.


Using a single external monitor with 1920x1200 resolution via a DisplayPort Adapter.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.