SAP Knowledge Base Article - Preview

2464944 - SUM throws java.lang.NullPointerException in BUILD-COMPONENT-LIST-UPG for CUSTOM components when migrate option is selected

Symptom

During upgrade or update SUM shows java.lang.NullPointerException  error in step BUILD-COMPONENT-LIST-UPG for CUSTOM components when migrate option is selected

----Trouble Ticket Report------

An error occured during the execution of Build Component List for Upgrade of action configure.
Service com.sap.sdt.j2ee.services.servicesimpl.ModifyQueueService failed with the following message:
java.lang.NullPointerException
For more information, see the log file /soft/SUM_SPX/SUM/sdt/log/SUM/BUILD-COMPONENT-LIST-UPG_03.LOG

----SUM/sdt/log/SUM/BUILD-COMPONENT-LIST-UPG_03.LOG--------

Mar 27, 2017 1:47:46 PM [Info ]: Component with name BP_SRM, vendor sap.com, and release 7.02 has predecessor with the same name in start release.
Mar 27, 2017 1:47:46 PM [Info ]: Component with name BP_SRM and vendor sap.com is not part of any usage type and is deployed to update the existing component(s)
Mar 27, 2017 1:47:46 PM [Info ]: Component with name CRMAPP, vendor sap.com, and release 754 has predecessor with the same name in start release.
Mar 27, 2017 1:47:46 PM [Info ]: Component with name CRMAPP and vendor sap.com is not part of any usage type and is deployed to update the existing component(s)
Mar 27, 2017 1:47:46 PM [Info ]: Component with name CRMFND, vendor sap.com, and release 754 has predecessor with the same name in start release.
Mar 27, 2017 1:47:46 PM [Info ]: Component with name CRMFND and vendor sap.com is not part of any usage type and is deployed to update the existing component(s)
Mar 27, 2017 1:47:46 PM [Info ]: All Development components from SCA - JLOGVIEW, are in undeploy list.
Mar 27, 2017 1:47:46 PM [Info ]: All Development components from SCA - RTC, are in undeploy list.
Mar 27, 2017 1:47:46 PM [Info ]: All Development components from SCA - RTC-STREAM, are in undeploy list.
Mar 27, 2017 1:47:46 PM [Info ]: All Development components from SCA - VCBASE, are in undeploy list.
Mar 27, 2017 1:47:47 PM [Info ]: All Development components from SCA - VCFLEX, are in undeploy list.
Mar 27, 2017 1:47:47 PM [Info ]: Dialog eliminator ConfirmComponentsDialogEliminator does not allow to omit dialog ConfirmComponents
Mar 27, 2017 1:50:20 PM [Info ]: Component with name CUSTOM_COMPONENT1 and vendor custom.com is component without successor and has been configured for migration.
Mar 27, 2017 1:50:20 PM [Info ]: The component CUSTOM_COMPONENT1 is subject for par-war migration. Even though action 'migrate' was chosen, the inbox will be scanned for successor
Mar 27, 2017 1:50:20 PM [Info ]: Component with name CUSTOM_COMPONENT2 and vendor custom.com is component without successor and has been configured for migration.
Mar 27, 2017 1:50:20 PM [Info ]: The component CUSTOM_COMPONENT2 is subject for par-war migration. Even though action 'migrate' was chosen, the inbox will be scanned for successor
Mar 27, 2017 1:50:20 PM [Info ]: Component with name CUSTOM_COMPONENT3 and vendor custom.com is component without successor and has been configured for migration.
Mar 27, 2017 1:50:20 PM [Info ]: The component CUSTOM_COMPONENT3 is subject for par-war migration. Even though action 'migrate' was chosen, the inbox will be scanned for successor
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name BP_ERP4ESS, vendor sap.com and release 60.2.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name BP_ERP4MSS, vendor sap.com and release 60.1.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name CustomLogoffEar, vendor sap.com and release 0.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name FileList, vendor sap.com and release 0.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name PayTest, vendor sap.com and release 0.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name UserSync_EAR, vendor sap.com and release 0.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name tc~sec~diagtool~ear, vendor sap.com and release 0.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name CAF-KM, vendor sap.com and release 7.02.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name CAF-UM, vendor sap.com and release 7.02.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name NET-PDK, vendor sap.com and release 7.02.
Mar 27, 2017 1:50:20 PM [Info ]: The component NET-PDK is subject for par-war migration. Even though action 'remove' was chosen, the inbox will be scanned for successor
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name RTC, vendor sap.com and release 7.02.
Mar 27, 2017 1:50:20 PM [Info ]: The component RTC is subject for par-war migration. Even though action 'remove' was chosen, the inbox will be scanned for successor
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name RTC-STREAM, vendor sap.com and release 7.02.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name SAP-EU, vendor sap.com and release 7.02.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name VCKITGP, vendor sap.com and release 7.02.
Mar 27, 2017 1:50:20 PM [Info ]: Action 'remove' has been chosen for component with name VCKITXX, vendor sap.com and release 7.02.
Mar 27, 2017 1:50:20 PM [Info ]: The list of target release components has been confirmed.
Mar 27, 2017 1:50:20 PM [Error ]: The following problem has occurred during step execution: java.lang.NullPointerException.

---------/SUM/sdt/log/SUM/ComponentList_03.htm---------

comp list.png

Increase the severity as per KBA 1838153 and check DETEC.TRC  to find components as follows, you notice that when reading source information before migrating it returns null value

---------/SUM/sdt/trc/DETECT.TRC----------

Mar 27, 2017 1:50:20 PM [Info]: com.sap.sdt.slprotocol.impl.SLPPProtocolImpl.getMonitor(SLPPProtocolImpl.java:231) [Thread[SUMSLPServer-20 - /slp/processes/SUM4Java/monitor?_=1490618786718,5,main]]: Monitor resource: current step is:Current step: Build Component List for Upgrade
Mar 27, 2017 1:50:20 PM [Debug]: com.sap.sdt.j2ee.services.servicesimpl.ModifyQueueService [Thread[Thread-12,5,main]]: Processing software component with key custom.com CUSTOM_COMPONENT1.
Mar 27, 2017 1:50:20 PM [Debug]: com.sap.sdt.j2ee.services.servicesimpl.ModifyQueueService [Thread[Thread-12,5,main]]: Processing software component with name CUSTOM_COMPONENT1.
Mar 27, 2017 1:50:20 PM [Debug]: com.sap.sdt.j2ee.services.servicesimpl.ModifyQueueService [Thread[Thread-12,5,main]]: Processing software component with archive <null>.
Mar 27, 2017 1:50:20 PM [Debug]: com.sap.sdt.executor.status.StatusHandler [Thread[Thread-12,5,main]]: Entering method 'setStepState(Step step, Status.STATUS_STATE newState)'
Mar 27, 2017 1:50:20 PM [Debug]: com.sap.sdt.executor.status.StatusHandler [Thread[Thread-12,5,main]]: Entering method 'updateStatus(String statusId, Status.STATUS_STATE state)'
Mar 27, 2017 1:50:20 PM [Debug]: com.sap.sdt.executor.status.StatusHandler [Thread[Thread-12,5,main]]: Exiting method 'updateStatus(String statusId, Status.STATUS_STATE state)'
Mar 27, 2017 1:50:20 PM [Info]: com.sap.sdt.executor.status.StatusHandler.setStepState(StatusHandler.java:318) [Thread[Thread-12,5,main]]: Changed the execution state of Step build-component-list-upg from RUNNING to ABORTED.
Mar 27, 2017 1:50:20 PM [Debug]: com.sap.sdt.executor.status.StatusHandler [Thread[Thread-12,5,main]]: Exiting method 'setStepState(Step step, Status.STATUS_STATE newState)'
Mar 27, 2017 1:50:20 PM [Error]: com.sap.sdt.executor.step.StepExecutor.executeStep(StepExecutor.java:240) [Thread[Thread-12,5,main]]: The following problem has occurred during step execution: java.lang.reflect.InvocationTargetException.
Mar 27, 2017 1:50:20 PM [Error]: com.sap.sdt.executor.step.StepExecutor.executeStep(StepExecutor.java:243) [Thread[Thread-12,5,main]]: The following problem has occurred during step execution: java.lang.NullPointerException.
..
..
..

Mar 27, 2017 1:50:20 PM [Error]: com.sap.sdt.executor.module.ModuleExecutor.executeModule(ModuleExecutor.java:134) [Thread[Thread-12,5,main]]: A problem has occurred: com.sap.sdt.executor.exception.StepExecutionException: Problem while trying to execute operation on service build-component-list-upg. The following problem has occurred java.lang.reflect.InvocationTargetException. CSN Component BC-UPG-TLS-TLJ.
java.lang.NullPointerException
.
Mar 27, 2017 1:50:20 PM [Error]: com.sap.sdt.executor.module.ModuleExecutor [Thread[Thread-12,5,main]]: Problem while trying to execute operation on service build-component-list-upg. The following problem has occurred java.lang.reflect.InvocationTargetException. CSN Component BC-UPG-TLS-TLJ.
Mar 27, 2017 1:50:20 PM [Error]: com.sap.sdt.executor.module.ModuleExecutor [Thread[Thread-12,5,main]]: java.lang.NullPointerException
at java.io.File.<init>(File.java:287)
at com.sap.sdt.j2ee.services.servicesimpl.ModifyQueueService.handelMigratedSourseComponents(ModifyQueueService.java:622)
at com.sap.sdt.j2ee.services.servicesimpl.ModifyQueueService.getUpgradeComponents(ModifyQueueService.java:399)
at com.sap.sdt.j2ee.services.servicesimpl.ModifyQueueService.addUpgradeComponentsToQueueInternal(ModifyQueueService.java:160)
at com.sap.sdt.j2ee.services.servicesimpl.ModifyQueueService.addUpgradeComponentsToQueue(ModifyQueueService.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

Read more...

Environment

Update or upgrade for Netweaver 7.0x system

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

Software update manager , undefined , deploy , remove , SDM  , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-CTS-SDM , Software Delivery Manager 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.