DBCA fails with "java.lang.NullPointerException at sun.awt.motif.X11FontMetrics" (Doc ID 1582583.1)

Last updated on MAY 31, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 and later
Information in this document applies to any platform.

Symptoms

DBCA launch fails with below errors:

java.lang.NullPointerException
  at sun.awt.motif.X11FontMetrics.(Compiled Code)
  at sun.awt.motif.X11FontMetrics.getFontMetrics(Compiled Code)
  at sun.awt.motif.MToolkit.getFontMetrics(Compiled Code)
  at java.awt.Component.getFontMetrics(Compiled Code)
  at oracle.ewt.multiLineLabel.MultiLineLabel.setFont(Compiled Code)
  at oracle.sysman.assistants.util.SplashScreenWindow.createBannerPanel(Compiled Code)
  at oracle.sysman.assistants.util.SplashScreenWindow.initControls(Compiled Code)
  at oracle.sysman.assistants.util.SplashScreenWindow.init(Compiled Code)
  at oracle.sysman.assistants.util.SplashScreenWindow.(Compiled Code)
  at oracle.sysman.assistants.util.SplashScreen.(Compiled Code)
  at oracle.sysman.assistants.dbca.ui.UIHost.initialize(Compiled Code)
  at oracle.sysman.assistants.dbca.Dbca.execute(Compiled Code)
  at oracle.sysman.assistants.dbca.Dbca.main(Compiled Code)

 All other tools like NETCA, DBUA, OUI etc works fine.

Changes

Xming X server is used on Windows Desktop to connect to the server.

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