Skip to Content
0
Former Member
Jun 28, 2007 at 07:02 AM

Error in deployment:java.lang.NullPointerException:sdu name can not be null

277 Views

HI Everyone!

I try to deploy my web dynpro project to SAP J2EE engine. Configuration about SAP J2EE Engine is OK, but there is an error during the deployment. Here is the deployment trace:

2007-6-28 14:56:27 /userOut/daView_category (com.sap.ide.eclipse.deployer.DVBaseLog) [Thread[Deploy Thread,6,main]] INFO: deployment trace

14:56:24.207 [info #300] [#4]: Trying to connect to 'secude-vmcn0001:50004' as 'administrator'

14:56:24.207 [debug #100] [#4]: Session::getContext.[ B E G I N ].timerId=16

14:56:25.161 [debug #100] [#4]: Session::getContext.[ E N D ].timerId=[id:#16, elapsed: 954 ms.]

14:56:25.161 [info #300] [#4]: Connected to 'secude-vmcn0001:50004' as 'administrator'

14:56:25.161 [debug #100] [#4]: DeployProcessor::ctor:New deploy processor created.deployerId=4

14:56:25.161 [info #300] [#4]: +++++ Starting D E P L O Y action +++++

14:56:25.161 [info #300] [#4]: Selected archives for deployment

14:56:25.161 [info #300] [#4]: D:\NetWeaverWorkspace\Workspace\Dashboard\Dashboard.ear

14:56:25.536 [debug #100] [#4]: DeployProcessor::deploy:going to generate Session id, deployerId=4

14:56:25.755 [debug #100] [#4]: DeployProcessor::deploy:got Session id='14',time:[id:#17, elapsed: 594 ms.], deployerId=4

14:56:25.974 [info #300] [#4]: Upload archives to the server.Remote upload path is 'C:\SAP\JP1\JC00\j2ee\cluster\server0\temp\tcbldeploy_controller\archives\14'

14:56:25.974 [debug #300] [#4]: DeployProcessor::uploadItemsToServer:Going to upload 'D:\NetWeaverWorkspace\Workspace\Dashboard\Dashboard.ear' on the server.deployerId=4

14:56:26.427 [info #300] [#4]: File 'D:\NetWeaverWorkspace\Workspace\Dashboard\Dashboard.ear' uploaded successfully as 'C:/SAP/JP1/JC00/j2ee/cluster/server0/temp/tcbldeploy_controller/archives/14/Dashboard.ear'. Time:[id:#18, elapsed: 453 ms.]

14:56:26.427 [info #300] [#4]: Archives uploaded.time:[#18: 0.453 sec]

14:56:26.427 [debug #100] [#4]: DeployProcessor::deployItems:enter.timerId=19, deployerId=4

14:56:26.427 [debug #100] [#4]: DeployProcessor::internalCreateAndInitDeployer:get deployer from server, deployerId=4

14:56:26.427 [debug #100] [#4]: DeployProcessor::internalCreateAndInitDeployer:deployer get successfully:[id:#20, elapsed: 0 ms.], deployerId=4

14:56:26.630 [info #300] [#4]: component version handling rule is UpdateAllVersions

14:56:26.849 [info #300] [#4]: Error strategies:

14:56:26.849 [debug #100] [#4]: DeployProcessor::internalCreateAndInitDeployer:deployer initialized sucessfully:[id:#20, elapsed: 422 ms.], deployerId=4

14:56:26.849 [debug #100] [#4]: DeployProcessor::internalCreateAndInitDeployer:total time:[#20: 0.422 sec], deployerId=4

14:56:26.849 [info #300] [#4]: Starting deployment

14:56:27.177 [debug #100] [#4]: DeployProcessor::internalMapSdus:sduMapperVisitor.setCompositeDeploymentItem(null),remoteSdu=name: 'null', vendor: 'null', location: 'LOKAL', version: '0.2007.06.28.14.28.59', software type: 'J2EE', dependencies: '[]'

14:56:27.177 [debug #300] [#4]: DeployProcessor::deployItems:finally.Total Time:[#19: 0.75 sec], deployerId=4

14:56:27.177 [info #300] [#4]: +++++ End D E P L O Y action +++++

And here is the exception detail:

2007-6-28 14:56:27 /userOut/daView_category (com.sap.ide.eclipse.deployer.DVBaseLog) [Thread[Deploy Thread,6,main]] ERROR: java.lang.NullPointerException: sdu name can not be null.

at com.sap.engine.services.dc.api.model.impl.SduImpl.<init>(SduImpl.java:39)

at com.sap.engine.services.dc.api.model.impl.SdaImpl.<init>(SdaImpl.java:51)

at com.sap.engine.services.dc.api.model.impl.ModelFactoryImpl.createSda(ModelFactoryImpl.java:43)

at com.sap.engine.services.dc.api.model.SduMapperVisitor.createSda(SduMapperVisitor.java:52)

at com.sap.engine.services.dc.api.model.SduMapperVisitor.visit(SduMapperVisitor.java:64)

at com.sap.engine.services.dc.repo.impl.SdaImpl.accept(SdaImpl.java:136)

at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.internalMapSdus(DeployProcessorImpl.java:704)

at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:487)

at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:155)

at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:185)

at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:115)

It seems that there is something wrong about 'SDU', but i don't know what is it, and i can not find the answer both in sdn.sap.com and here.

Anyone can help me on this?

Thanks in Advance,

MK