My Oracle Support Banner

EMCA Hangs With Exception in thread "main" java.lang.NullPointerException (Doc ID 1524078.1)

Last updated on FEBRUARY 06, 2020

Applies to:

Enterprise Manager for Oracle Database - Version 11.2.0.1 to 11.2.0.3 [Release 11.2]
Information in this document applies to any platform.

Symptoms

DBConsole for 11g database fails with:


<DB_HOME>>emca -config dbcontrol db -repos create

STARTED EMCA at Jan 13, 2013 3:38:25 AM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.

Enter the following information:
Database SID: <DB_SID>
Exception in thread "main" java.lang.NullPointerException
  at oracle.cluster.impl.install.InstallGroupImpl.(InstallGroupImpl.java:130)
  at oracle.cluster.impl.install.HAInstallImpl.(HAInstallImpl.java:51)
  at oracle.cluster.impl.install.InstallFactoryImpl.getHAInstall(InstallFactoryImpl.java:139)
  at oracle.cluster.install.InstallFactory.getHAInstall(InstallFactory.java:130)
  at oracle.cluster.deployment.ClusterwareInfo.isHAInstalled(ClusterwareInfo.java:243)
  at oracle.sysman.emcp.util.ClusterUtil.isHASInstalled(ClusterUtil.java:285)
  at oracle.sysman.emcp.EMConfigAssistant.getParamsWarnsList(EMConfigAssistant.java:2233)
  at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:3082)
  at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1310)
  at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
  at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)

An attempt to configure the dbconsole with dbca reported the following error in dbca trace.log :

[AWT-EventQueue-0] [ 2013-01-16 10:16:07.786 GMT ] [InventoryUtil.getOUIInvSession:347] setting OUI READ level to ACCESSLEVEL_READ_LOCKLESS
java.lang.NullPointerException
 at oracle.sysman.assistants.util.InventoryUtil.getHomeName(InventoryUtil.java:92)
at oracle.sysman.assistants.util.OracleHome.getInventoryHomeName(OracleHome.java:1036)

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
Cause
Solution
References


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