SAP Knowledge Base Article - Preview

2350406 - Deploy KMC components:java.lang.NullPointerException

Symptom

During an upgrade/update , Software update manager (SUM) ends up with following error during "Deploy KMC components" step .

You can refer to following logs for more details:

DEPLOY-KMC-COMPNENTS_10.LOG
-----------------------------------------------
[Info ]: AS Java process ID 362 has been started.
[Info ]: Command line: J:\usr\sap\<SID>\DVEBMGS<nr>\exe\sapjvm_5\bin\java.exe -Xmx900M -Djava.ext.dir=j:\usr\sap\<SID>\DVEBMGS<nr>\SDM/program/lib;J:/usr/sap/<SID>/DVEBMGS<nr>/exe/sapjvm_5/jre/lib/ext -cp . -jar j:\usr\sap\<SID>\DVEBMGS<nr>\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=j:\usr\sap\<SID>\DVEBMGS<nr>\SDM/program logfile=D:\SUM\sdt\log\SUM\KMC_ONLINE_MIGRATION_DEPLOYComponentHandlingService_10.LOG

[Info ]: Standard out: D:\SUM\sdt\log\SUM\KMC_ONLINE_MIGRATION_DEPLOYCOMPONENTHANDLINGSERVICE_10.OUT
[Error ]: The following problem has occurred during step execution: java.lang.NullPointerException: while trying to invoke the method java.lang.Process.destroy() of a null object returned from com.sap.sdt.tools.proc.OsProcess.getProcessObject().

..

[Info ]: Command line: J:\usr\sap\<SID>\DVEBMGS<nr>\exe\sapjvm_5\bin\java.exe -Xmx900M -Djava.ext.dir=j:\usr\sap\<SID>\DVEBMGS<nr>\SDM/program/lib;J:/usr/sap/<SID>/DVEBMGS<nr>/exe/sapjvm_5/jre/lib/ext -cp . -jar j:\usr\sap\<SID>\DVEBMGS<nr>\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=j:\usr\sap\<SID>\DVEBMGS<nr>\SDM/program logfile=D:\SUM\sdt\log\SUM\KMC_ONLINE_MIGRATION_DEPLOYComponentHandlingService_10.LOG
[Info ]: Standard out: D:\SUM\sdt\log\SUM\KMC_ONLINE_MIGRATION_DEPLOYCOMPONENTHANDLINGSERVICE_10.OUT[Error ]: The following problem has occurred during step execution: java.lang.NullPointerException: while trying to invoke the method java.lang.Process.destroy() of a null object returned from com.sap.sdt.tools.proc.OsProcess.getProcessObject().
[Error ]: The following problem has occurred during step execution: java.lang.NullPointerException: while trying to invoke the method java.lang.Process.destroy() of a null object returned from com.sap.sdt.tools.proc.OsProcess.getProcessObject().
----------------------------------------------

Also SWITCH.TRC

---------------------------------------------

[Error]: com.sap.sdt.tools.proc.JavaOsProcessController [Thread[Thread-12,5,main]]: [362] exec failed (class java.io.IOException)
[Error]: com.sap.sdt.tools.proc.JavaOsProcessController [Thread[Thread-12,5,main]]: java.io.IOException: Could not start 'J:\usr\sap\<SID>\DVEBMGS<nr>\exe\sapjvm_5\bin\java.exe -Xmx900M -Djava.ext.dir=j:\usr\sap\<SID>\DVEBMGS<nr>\SDM/program/lib;J:/usr/sap/<SID>/DVEBMGS<nr>/exe/sapjvm_5/jre/lib/ext -cp . -jar j:\usr\sap\<SID>\DVEBMGS<nr>\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=j:\usr\sap\<SID>\DVEBMGS<nr>\SDM/program logfile=D:\SUM\sdt\log\SUM\KMC_ONLINE_MIGRATION_DEPLOYComponentHandlingService_10.LOG' in path 'D:\SUM\sdt\tmp'. Details: CreateProcess error=2, The system cannot find the file specified

[Error]: com.sap.sdt.tools.proc.JavaOsProcessController [Thread[Thread-12,5,main]]: java.io.IOException: Could not start 'J:\usr\sap\<SID>\DVEBMGS<nr>\exe\sapjvm_5\bin\java.exe -Xmx900M -Djava.ext.dir=j:\usr\sap\<SID>\DVEBMGS<nr>\SDM/program/lib;J:/usr/sap/<SID>/DVEBMGS<nr>/exe/sapjvm_5/jre/lib/ext -cp . -jar j:\usr\sap\<SID>\DVEBMGS<nr>\SDM\program\bin\SDM.jar shutdown Sdmguiport=50018 sdmHome=j:\usr\sap\<SID>\DVEBMGS<nr>\SDM/program logfile=D:\SUM\sdt\log\SUM\KMC_ONLINE_MIGRATION_DEPLOYComponentHandlingService_10.LOG' in path 'D:\SUM\sdt\tmp'. Details: CreateProcess error=2, The system cannot find the file specified

---------------------------------------------


Read more...

Environment

Upgrade/Update using SUM tool.

 

Product

SAP Solution Manager 7.1

Keywords

DEPLOY-KMC-COMPNENTS, com.sap.sdt.tools.proc.OsProcess.getProcessObject, java.lang.NullPointerException,  java.lang.Process.destroy, jstartup/vm/home, SAPJVM_VERSION, DIR_CT_SAPJVM, SUM, sapjvm_5 , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.