My Oracle Support Banner

DBCA Failed to start (Doc ID 2579394.1)

Last updated on AUGUST 23, 2023

Applies to:

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

Symptoms

DBCA (Database Configuration Assistant) won't start when using a particular user.

For example:

  When using 'grid' user, it works fine, but fails with 'oracle' user, displaying the error below:

oracle@...:/u01/app/oracle/product/12.1.0/dbhome_1/bin>./dbca
Exception in thread "main" java.lang.NullPointerException
       at oracle.net.ca.cx.common.NetCAUtils.compareVersion(NetCAUtils.java:178)
       at oracle.net.ca.cx.common.NetCAUtils.isV1HigherThanV2(NetCAUtils.java:202)
       at oracle.net.ca.cx.common.NetCAUtils.isVersion112orHigher(NetCAUtils.java:217)
       at oracle.net.ca.cx.common.HASInfo.<init>(HASInfo.java:60)
       at oracle.net.ca.cx.common.GridInfo.getInstance(GridInfo.java:103)
       at oracle.net.ca.cx.backend.NetConfigFactory.findHomeType(NetConfigFactory.java:220)
       at oracle.net.ca.cx.backend.NetConfigFactory.getNetConfig(NetConfigFactory.java:115)
       at oracle.net.ca.cx.GetListenerInfo.getAllListeners(GetListenerInfo.java:116)
       at oracle.net.ca.cx.GetListenerInfo.getAllListeners(GetListenerInfo.java:99)
       at oracle.sysman.assistants.util.step.StepContext.<init>(StepContext.java:393)
       at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:1050)
       at oracle.sysman.assistants.dbca.backend.Host.<init>(Host.java:1043)
       at oracle.sysman.assistants.dbca.wizard.UIHost.<init>(UIHost.java:241)
       at oracle.sysman.assistants.dbca.wizard.InteractiveHost.<init>(InteractiveHost.java:60)
       at oracle.sysman.assistants.dbca.wizard.InteractiveHost.getInstance(InteractiveHost.java:78)
       at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:208)
       at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:121)
       at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:226)

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution


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