The chgiphost.sh Script Fails With A "main" Java.lang.NullPointerException Exception

(Doc ID 1642903.1)

Last updated on AUGUST 23, 2016

Applies to:

Oracle Fusion Middleware - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Symptoms

When running the chgiphost.sh command to change the IP address of a host, the process ends successfully but the following error is displayed:

  ./chgiphost.sh -noconfig -oldip aaa.bbb.ccc.ddd -newip eeee.fff.ggg.hhh -instanceHome /oracle/product/Middleware/asinst_1
  ORACLE_HOME set as /oracle/product/Middleware11g/WEBTIER11g
  Starting Change Hostname/IP...
  osName win m/c = Linux
  COMMAND : /oracle/product/Middleware11g/WEBTIER11g/jdk/bin/java -cp /oracle/product/Middleware11g/WEBTIER11g/chgip/jlib/filefixer.jar:/oracle/product/Middleware11g/WEBTIER11g/lib/xml.jar:/oracle/product/Middleware11g/WEBTIER11g/lib/xmlparserv2.jar: oracle.sysman.cloneutils.filefixer.FileFixer -package oracle.sysman.cloneutils.filefixer.oraxdk -targetScript /oracle/product/Middleware11g/WEBTIER11g/chgip/config/hostname.lst.xml -debug
  Change Hostname/IP completed successfully.
  Exception in thread "main" java.lang.NullPointerException
  at oracle.as.chgip.session.ChgipSession.doOperation(ChgipSession.java:79)
  at oracle.as.chgip.client.ChgipClient.main(ChgipClient.java:81)

 

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