Install fails with java.lang.NullPointerException

Document ID : KB000031440
Last Modified Date : 14/02/2018
Show Technical Document Details

DESCRIPTION:

eHealth - Oracle installation fails with java null pointer exception

DETAILS:

eHealth install fails on Oracle

Oracle installation fails with java null pointer exception

Oracle install errors logged in
/opt/oracle/oraInventory/logs/oraInstall2014-06-02_03-18-55PM.err:
java.lang.NullPointerException
at oracle.sysman.oii.oiin.OiinNetOps.addNICInfo(OiinNetOps.java:144)
at
oracle.sysman.oii.oiin.OiinNetOps.computeNICList(OiinNetOps.java:109)
at oracle.sysman.oii.oiin.OiinNetOps.<init>(OiinNetOps.java:76)
at oracle.sysman.oii.oiin.OiinNetOps.getNetOps(OiinNetOps.java:90)
at
oracle.sysman.oii.oiif.oiifw.OiifwHostNameWCDE.initialize(OiifwHostNameWCDE.ja
va:113)
at
oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:
152)
at
oracle.sysman.oii.oiic.OiicDepWizEngine.doOperation(OiicDepWizEngine.java:450)
at
oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:
171)
at
oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1380)
at
oracle.sysman.oii.oiic.OiicInstallAPISession.doOperationsTillSummary(OiicInsta
llAPISession.java:782)
at
oracle.sysman.oii.oiic.OiicInstallAPISession.prepareForInstallOperations(OiicI
nstallAPISession.java:309)
at
oracle.sysman.oii.oiic.OiicAPIInstaller.prepareForInstallOperations(OiicAPIIns
taller.java:838)
at
oracle.install.driver.oui.OUISetupDriver.initSession(OUISetupDriver.java:792)
at
oracle.install.driver.oui.OUISetupDriver.setup(OUISetupDriver.java:439)
at oracle.install.driver.oui.SetupJob.call(SetupJob.java:178)
at oracle.install.driver.oui.SetupJob.call(SetupJob.java:52)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java
:651)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676
)
at java.lang.Thread.run(Thread.java:637)

SOLUTION:

This error is caused by problems with the hosts file. Generally it is a bad IP or host name. Please review the hosts file on the system and verify every entry.