My Oracle Support Banner

SQL Worksheet does not re-draw (Doc ID 1297144.1)

Last updated on NOVEMBER 25, 2019

Applies to:

Oracle SQL Developer - Version 2.1 to 4.1 [Release APEX 2.1 to 4]
Generic Windows


Whilst trying to modify the SQL or PL/SQL code in SQL worksheet, the redrawing of SQLWorksheet does not load the UI properly. The following java error can be seen in the Debug Console

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at oracle.javatools.editor.folding.CodeFoldingMargin.getFontHeight(
at oracle.javatools.editor.folding.CodeFoldingMargin.paintComponent(
at javax.swing.JComponent.paint(

Even after adding the following settings

in sqldeveloper.conf located in \sqldeveloper\bin did not resolve the issue


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.