cancel
Showing results for 
Search instead for 
Did you mean: 

NullPointerException during SDM deployment.

Former Member
0 Kudos
88

Hi ,

Suddenly all our SDM deployment is failing, this used to work previously. It is throwing a null pointer exception.

The exception chain is as under:

Sep 11, 2009 3:30:34 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] INFO:

[001]Additional log information about the deployment

<!LOGHEADER[START]/>

<!HELP[Manual modification of the header may cause parsing problem!]/>

<!LOGGINGVERSION[1.5.3.7185 - 630]/>

<!NAME[/usr/sap/EQ1/JC01/SDM/program/log/sdmcl20090911100217.log]/>

<!PATTERN[sdmcl20090911100217.log]/>

<!FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %s: %m)]/>

<!ENCODING[UTF8]/>

<!LOGHEADER[END]/>

Sep 11, 2009 3:32:17 PM Info: -


Starting deployment -


Sep 11, 2009 3:32:17 PM Info: Error handling strategy: OnErrorStop

Sep 11, 2009 3:32:17 PM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop

Sep 11, 2009 3:32:17 PM Info: Update strategy: UpdateAllVersions

Sep 11, 2009 3:32:17 PM Info: Starting deployment prerequisites:

Sep 11, 2009 3:32:21 PM Info: Loading selected archives...

Sep 11, 2009 3:32:21 PM Info: Loading archive '/usr/sap/EQ1/JC01/SDM/program/temp/temp3645900128375696760wdproject.ear'

Sep 11, 2009 3:32:24 PM Info: Selected archives successfully loaded.

Sep 11, 2009 3:32:24 PM Info: Actions per selected component:

Sep 11, 2009 3:32:24 PM Info: Update: Selected development component 'wdproject'/'local'/'LOKAL'/'0.2009.09.11.15.30.14'/'0' updates currently deployed development component 'wdproject'/'local'/'LOKAL'/'0.2009.08.25.16.05.26'/'0'.

Sep 11, 2009 3:32:24 PM Info: Ending deployment prerequisites. All items are correct.

Sep 11, 2009 3:32:24 PM Info: Saved current Engine state.

Sep 11, 2009 3:32:24 PM Info: Starting: Update: Selected development component 'wdproject'/'local'/'LOKAL'/'0.2009.09.11.15.30.14'/'0' updates currently deployed development component 'wdproject'/'local'/'LOKAL'/'0.2009.08.25.16.05.26'/'0'.

Sep 11, 2009 3:32:24 PM Info: SDA to be deployed: /usr/sap/EQ1/JC01/SDM/root/origin/local/wdproject/LOKAL/0/0.2009.09.11.15.30.14/temp3645900128375696760wdproject.ear

Sep 11, 2009 3:32:24 PM Info: Software type of SDA: J2EE

Sep 11, 2009 3:32:24 PM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

Sep 11, 2009 3:32:27 PM Info: Begin of log messages of the target system:

09/09/11 15:32:24 - ***********************************************************

09/09/11 15:32:26 - Start updating EAR file...

09/09/11 15:32:26 - start-up mode is lazy

09/09/11 15:32:26 - EAR file updated successfully for 52ms.

09/09/11 15:32:26 - Start updating...

09/09/11 15:32:27 - ERROR: NOT updated. The Deploy Service returned the following error:

For detailed information see the log file of the Deploy Service.

Exception is:

java.lang.NullPointerException

at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:666)

at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:518)

at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:198)

at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)

at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)

at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)

at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)

at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:48)

at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)

at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)

at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)

at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)

at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)

at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:128)

at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:97)

at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:68)

at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:74)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)

at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)

at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:84)

at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)

at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)

at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286)

at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)

at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)

at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)

at java.lang.Thread.run(Thread.java:534)

09/09/11 15:32:27 - ***********************************************************

Sep 11, 2009 3:32:27 PM Info: End of log messages of the target system.

Sep 11, 2009 3:32:27 PM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

Sep 11, 2009 3:32:27 PM Error: Aborted: development component 'wdproject'/'local'/'LOKAL'/'0.2009.09.11.15.30.14'/'0':

Caught exception during application deployment from SAP J2EE Engine's deploy API:

com.sap.engine.deploy.manager.DeployManagerException: ERROR: NOT updated. The Deploy Service returned the following error: java.lang.NullPointerException

Exception is:

java.lang.NullPointerException

at com.sap.engine.deploy.manager.DeployManagerImpl.deployUpdateAction(DeployManagerImpl.java:666)

at com.sap.engine.deploy.manager.DeployManagerImpl.update(DeployManagerImpl.java:518)

at com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performDeployment(EngineApplOnlineDeployerImpl.java:198)

at com.sap.sdm.serverext.servertype.inqmy.extern.EngineDeployerImpl.deploy(EngineDeployerImpl.java:96)

at com.sap.sdm.serverext.servertype.inqmy.EngineProcessor.executeAction(EngineProcessor.java:224)

at com.sap.sdm.app.proc.deployment.impl.PhysicalDeploymentActionExecutor.execute(PhysicalDeploymentActionExecutor.java:60)

at com.sap.sdm.app.proc.deployment.impl.DeploymentActionImpl.execute(DeploymentActionImpl.java:186)

at com.sap.sdm.app.proc.deployment.controllers.internal.impl.DeploymentExecutorImpl.execute(DeploymentExecutorImpl.java:48)

at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.executeAction(ExecuteDeploymentHandler.java:83)

at com.sap.sdm.app.proc.deployment.states.eventhandler.ExecuteDeploymentHandler.handleEvent(ExecuteDeploymentHandler.java:60)

at com.sap.sdm.app.proc.deployment.states.StateBeforeNextDeployment.processEvent(StateBeforeNextDeployment.java:127)

at com.sap.sdm.app.proc.deployment.states.InstContext.processEventServerSide(InstContext.java:73)

at com.sap.sdm.app.proc.deployment.states.InstContext.processEvent(InstContext.java:59)

at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.doPhysicalDeployment(DeployerImpl.java:128)

at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:97)

at com.sap.sdm.app.sequential.deployment.impl.DeployerImpl.deploy(DeployerImpl.java:68)

at com.sap.sdm.apiimpl.local.DeployProcessorImpl.deploy(DeployProcessorImpl.java:74)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.requestRemoteCall(RemoteProxyServerImpl.java:127)

at com.sap.sdm.is.cs.remoteproxy.server.impl.RemoteProxyServerImpl.process(RemoteProxyServerImpl.java:38)

at com.sap.sdm.apiimpl.remote.server.ApiClientRoleCmdProcessor.process(ApiClientRoleCmdProcessor.java:84)

at com.sap.sdm.is.cs.session.server.SessionCmdProcessor.process(SessionCmdProcessor.java:67)

at com.sap.sdm.is.cs.cmd.server.CmdServer.execCommand(CmdServer.java:76)

at com.sap.sdm.client_server.launch.ServerLauncher$ConnectionHandlerImpl.handle(ServerLauncher.java:286)

at com.sap.sdm.is.cs.ncserver.NetCommServer.serve(NetCommServer.java:43)

at com.sap.sdm.is.cs.ncwrapper.impl.ServiceWrapper.serve(ServiceWrapper.java:39)

at com.sap.bc.cts.tp.net.Worker.run(Worker.java:50)

at java.lang.Thread.run(Thread.java:534)

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)

Sep 11, 2009 3:32:27 PM Info: Starting to save the repository

Sep 11, 2009 3:32:28 PM Info: Finished saving the repository

Sep 11, 2009 3:32:28 PM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

Sep 11, 2009 3:32:28 PM Error: -


At least one of the Deployments failed -


Can anyone please suggest the solution for this?

Thanks,

Sonali.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sonali,

Need a bit of troubleshooting and more logs as the log pasted here does not clearly say the reason.

Do u find any error logs in the following folder /JC01/SDM/program/log ?? If yes please paste recent logs.

Did u try to restart SDM ??

Best Regards

Raghu.

Former Member
0 Kudos

Hi,

The problem got resolved by restarting the server processes.

Only restart of SDM was not helpful.

Thanks,

Sonali

Edited by: Sonali M S on Sep 11, 2009 2:21 PM

Answers (0)