My Oracle Support Banner

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

Last updated on OCTOBER 03, 2019

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
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 '<DB_HOME>'. 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 '<DB_HOME>/inventory/ContentsXML/comps.xml'. Received the value from a code block.
INFO: Setting variable 'ROOTSH_LOCATION' to '<DB_HOME>/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

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.