Add Node Fails with Exception java.lang.NullPointerException (Doc ID 1073878.1)

Last updated on MARCH 30, 2010

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 - Release: 10.2
Information in this document applies to any platform.

Symptoms

On an existing 3 nodes cluster, trying to add the 4th node. CRS and ASM are added fine on the 4th node. While adding RDBMS ORACLE_HOME to the 4th node, addnode.sh fails with error:

Initializing Java Virtual Machine from ../../jdk/jre/bin/java. Please wait...
Oracle Universal Installer, Version 10.2.0.3.0 Production
Copyright (C) 1999, 2006, Oracle. All rights reserved.

Exception java.lang.NullPointerException occurred..
java.lang.NullPointerException
at oracle.sysman.oii.oiic.OiicAddNodeSession.initialize(OiicAddNodeSession.java:568)
at oracle.sysman.oii.oiic.OiicAddNodeSession.(OiicAddNodeSession.java:135)
at oracle.sysman.oii.oiic.OiicSessionWrapper.createNewSession(OiicSessionWrapper.java:860)
at oracle.sysman.oii.oiic.OiicSessionWrapper.(OiicSessionWrapper.java:186)
at oracle.sysman.oii.oiic.OiicInstaller.init(OiicInstaller.java:482)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:934)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:872)

addNodeActions2010-02-19_11-59-19PM.log shows:
INFO: Oracle Universal Installer version is 10.2.0.3.0
INFO: Setting variable 'ORACLE_HOME' to '/u01/app/oracle/product/10gR2/db_1'. Received the value from the command line.
INFO: Setting variable 'PREREQ_CONFIG_LOCATION' to ''. Received the value from variable association.
INFO: Setting variable 'FROM_LOCATION' to '/u01/app/oracle/product/10gR2/db_1/inventory/ContentsXML/comps.xml'. Received the value from a code block.
INFO: Setting variable 'ROOTSH_LOCATION' to '/u01/app/oracle/product/10gR2/db_1/root.sh'. Received the value from a code block.
INFO: Setting variable 'ROOTSH_STATUS' to '3'. Received the value from a code block.
SEVERE: Abnormal program termination. An internal error has occured. Please provide the following files to Oracle Support :
"/u01/app/oracle/oraInventory/logs/addNodeActions2010-02-19_11-59-19PM.log"
"Unknown"
"Unknown"
INFO: User Selected: Yes/OK

Changes

The 4th node was successfully added before, but - due to a network interface naming issue - it was removed again from the cluster.
After the network interface naming issue had been resolved, another attempt was made to add the node.

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