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

Last updated on FEBRUARY 28, 2016

Applies to:

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

Symptoms

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(CodeFoldingMargin.java:614)
at oracle.javatools.editor.folding.CodeFoldingMargin.paintComponent(CodeFoldingMargin.java:764)
at javax.swing.JComponent.paint(JComponent.java:1027)



Even after adding the following settings

AddVMOption -Dsun.java2d.noddraw=true


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

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms