cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NullPointerException when connect to the J2EE engine

Former Member
0 Kudos

I want to connect to the J2EE engine ,but the error message "java.lang.NullPointerException" is displayed in the console. Please help me ! Thank you !! The full error exception like this:

java.lang.NullPointerException

at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.connectActio

n(LoginTask.java:191)

at com.sap.engine.services.adminadapter.gui.tasks.LoginTask.run(LoginTas

k.java:79)

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi

can you provide whole Error Stack Trace , this could be helpful

Former Member
0 Kudos

Thanks you very much,I will give you the whole error stackTrace next week!!!

Hopping for your good solution advice.

Former Member
0 Kudos

Hi:

The whole errror message like this:(deploy aborted error message)

2009/4/27 上午 08:53:52 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:

[001]Deployment aborted

Settings

SDM host : 10.138.6.10

SDM port : 50118

URL to deploy : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear

Result

=> deployment aborted : file:/C:/DOCUME1/F3221789/LOCALS1/Temp/temp53268foxconn.com~bbs_demo.ear

Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':

Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.

com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)

Deployment exception : The deployment of at least one item aborted

The Log infomation is like this:

2009/4/27 上午 08:53:52 /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[D:\usr\sap\SCM\DVEBMGS01\SDM\program\log\sdmcl20090427005331.log]/>

<!PATTERN[sdmcl20090427005331.log]/>

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

<!ENCODING[MS950]/>

<!LOGHEADER[END]/>

Apr 27, 2009 8:53:32 AM Info: -


Starting deployment -


Apr 27, 2009 8:53:32 AM Info: Error handling strategy: OnErrorStop

Apr 27, 2009 8:53:32 AM Info: Prerequisite error handling strategy: OnPrerequisiteErrorStop

Apr 27, 2009 8:53:32 AM Info: Update strategy: UpdateAllVersions

Apr 27, 2009 8:53:32 AM Info: Starting deployment prerequisites:

Apr 27, 2009 8:53:36 AM Info: Loading selected archives...

Apr 27, 2009 8:53:36 AM Info: Loading archive 'D:\usr\sap\SCM\DVEBMGS01\SDM\program\temp\temp53268foxconn.com~bbs_demo.ear'

Apr 27, 2009 8:53:37 AM Info: Selected archives successfully loaded.

Apr 27, 2009 8:53:37 AM Info: Actions per selected component:

Apr 27, 2009 8:53:37 AM Info: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.

Apr 27, 2009 8:53:37 AM Info: Ending deployment prerequisites. All items are correct.

Apr 27, 2009 8:53:39 AM Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789

Apr 27, 2009 8:53:39 AM Info: Saved current Engine state.

Apr 27, 2009 8:53:39 AM Info: Starting: Update: Selected development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22' updates currently deployed development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.23.14.34.21'.

Apr 27, 2009 8:53:39 AM Info: SDA to be deployed: D:\usr\sap\SCM\DVEBMGS01\SDM\root\origin\foxconn.com\bbs_demo\LOKAL\0.2009.04.27.08.53.22\temp53268foxconn.com~bbs_demo.ear

Apr 27, 2009 8:53:39 AM Info: Software type of SDA: J2EE

Apr 27, 2009 8:53:40 AM Info: ***** Begin of SAP J2EE Engine Deployment (J2EE Application) *****

Apr 27, 2009 8:53:43 AM Error: Unable to compare host[sidcsms.foxconn.com] and host[GDS-SF-F21789] Throwable: java.net.UnknownHostException Throwable message: GDS-SF-F21789: GDS-SF-F21789

Apr 27, 2009 8:53:44 AM Info: ***** End of SAP J2EE Engine Deployment (J2EE Application) *****

Apr 27, 2009 8:53:44 AM Error: Aborted: development component 'bbs_demo'/'foxconn.com'/'LOKAL'/'0.2009.04.27.08.53.22':

Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool. For more information, see SAP note 701654.

com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.

(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)

Apr 27, 2009 8:53:44 AM Info: Starting to save the repository

Apr 27, 2009 8:53:44 AM Info: Finished saving the repository

Apr 27, 2009 8:53:44 AM Info: J2EE Engine is in same state (online/offline) as it has been before this deployment process.

Apr 27, 2009 8:53:44 AM Error: -


At least one of the Deployments failed -


Edited by: sap-abap-tw on Apr 27, 2009 3:01 AM

Former Member
0 Kudos

Hi,

Try restarting the SDM and NWDS and then redeploy, hopefully it should work.

Cheers,

Arafat