My Oracle Support Banner

EM 13.5: OMS Install on Windows Fails during OMSCA With the Error:java.lang.NullPointerException (Doc ID 2887284.1)

Last updated on DECEMBER 05, 2022

Applies to:

Enterprise Manager Base Platform - Version 13.5.0.0.0 and later
Information in this document applies to any platform.

Symptoms

OMS Install on Windows Fails during OMSCA With the Error:java.lang.NullPointerException

OMS_HOME/cfgtoollogs/omsca/omsca_<timestamp>.log

weblogic.nodemanager.NMException: Received error message from Node Manager Server: [OHS Server 'ohs1' is not currently running]. Please check Node Manager log for details.
Ignoring exception when stopping the OHS: main.WLSTException value: Error occurred while performing nmKill : Error killing server ohs1 : Received error message from Node Manager Server: [OHS Server 'ohs1' is not currently running]. Please check Node Manager log for details.
Use dumpStack() to view the full stacktrace :
Already connected to a Node Manager
Stopped Node Manager Process successfully

Jul 23, 2022 7:44:41 AM oracle.sysman.omsca.util.CoreOMSConfigAssistantUtil execCommand
INFO: error messages of the command :

Jul 23, 2022 7:44:41 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapter adapterDeleteOMS
FINE: Done Executing the command...0
Jul 23, 2022 7:44:41 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapterUtil stopOMS
FINE: Stopping OMS
Jul 23, 2022 7:44:41 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapterUtil stopOMS
INFO: Executing the command: <OMS_HOME>\bin\emctl.bat stop oms -all
Jul 23, 2022 7:45:04 AM oracle.sysman.omsca.adapter.wls.OMSWLSAdapterUtil execCommand
FINE: Output messages of the command :
Oracle Enterprise Manager Cloud Control 13c Release 5
Copyright (c) 1996, 2021 Oracle Corporation. All rights reserved.
Stopping Oracle Management Server...
WebTier Successfully Stopped
Node Manager Not Running
Oracle Management Server is Down
Error Occurred: null
Please check /gc_inst/em/EMGC_OMS1\sysman\log\emctl.log for error details

 
/gc_inst/em/EMGC_OMS1\sysman\log\emctl.log

2022-07-23 07:45:00,820 [Thread-1] INFO commands.BaseCommand run.625 - <OUT>weblogic.nodemanager.NMConnectException: Connection refused: connect. Could not connect to NodeManager.
2022-07-23 07:45:00,820 [Thread-1] INFO commands.BaseCommand run.625 - <OUT>Failed to connect to node manager
2022-07-23 07:45:00,820 [Thread-1] INFO commands.BaseCommand run.625 - <OUT>
2022-07-23 07:45:00,820 [Thread-1] INFO commands.BaseCommand run.625 - <OUT>_END_
2022-07-23 07:45:00,820 [Thread-2] INFO commands.BaseCommand run.625 - <ERR>_END_
2022-07-23 07:45:00,961 [main] INFO commands.BaseCommand logAndPrint.673 - WebTier Successfully Stopped
2022-07-23 07:45:00,961 [main] ERROR commands.BaseCommand logAndPrint.671 - Node Manager Not Running
2022-07-23 07:45:00,961 [main] INFO commands.StopCommand stopOMS.525 - stopOMS finished with result: 4
2022-07-23 07:45:04,054 [main] INFO commands.BaseCommand logAndPrint.673 - Oracle Management Server is Down
2022-07-23 07:45:04,085 [main] INFO commands.BaseCommand printMessage.429 - statusOMS finished with result: 8
2022-07-23 07:45:04,101 [main] INFO ctrl_extn.EmctlCtrlExtnLoader logp.251 - Extensions found: 0
2022-07-23 07:45:04,101 [main] ERROR wls.OMSController main.258 - OMSController failed for stop oms
2022-07-23 07:45:04,101 [main] ERROR wls.OMSController main.259 - OMSController Error: null
java.lang.NullPointerException
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
at java.lang.Runtime.exec(Runtime.java:621)
at java.lang.Runtime.exec(Runtime.java:529)
at oracle.sysman.emctl.commands.BaseCommand.processCmd(BaseCommand.java:539)
at oracle.sysman.emctl.commands.BaseCommand.processCmd(BaseCommand.java:534)
at oracle.sysman.emctl.commands.StopCommand.stopOMS(StopCommand.java:588)
at oracle.sysman.emctl.commands.StopCommand.stopOMS(StopCommand.java:194)
at oracle.sysman.emctl.commands.StopCommand.execute(StopCommand.java:130)
at oracle.sysman.emctl.wls.OMSController.main(OMSController.java:239)

 

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.