Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Getting parsing error while using Deploy Manager

Hello,

I am trying to deploy our EAR file using deploymanager script. My EAR file is correctly packaged, I have also verified the java path and the xml and DTD structure. I am getting the following errors:

-


/DeployManager deploy-manager-config.xml

java.lang.NullPointerException

at java.io.File.<init>(File.java:203)

at com.sap.engine.deploy.manager.DeployConfigDocument.getAbsolutePath(DeployConfigDocument.java:990)

at com.sap.engine.deploy.manager.DeployConfigDocument.getInfoFromElement(DeployConfigDocument.java:1871)

at com.sap.engine.deploy.manager.DeployConfigDocument.initEarFile(DeployConfigDocument.java:398)

at com.sap.engine.deploy.manager.DeployConfigDocument.initDeployableObject(DeployConfigDocument.java:1792)

at com.sap.engine.deploy.manager.DeployConfigDocument.loadFieldsFromDocument(DeployConfigDocument.java:1496)

at com.sap.engine.deploy.manager.DeployManagerImpl.parseXML(DeployManagerImpl.java:1866)

at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:169)

at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)

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

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

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

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

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

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException

at com.sap.engine.deploy.manager.DeployManagerImpl.parseXML(DeployManagerImpl.java:1947)

at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:169)

at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)

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

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

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

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

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

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

com.sap.engine.deploy.manager.DeployManagerException: Cannot parse Deploy Manager XML file java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException

at com.sap.engine.deploy.manager.DeployManagerImpl.<init>(DeployManagerImpl.java:178)

at com.sap.engine.deploy.manager.DeployManagerImpl.main(DeployManagerImpl.java:3058)

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

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

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

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

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

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

NOT Deployed ! :

com.sap.engine.deploy.manager.DeployManagerException: Cannot parse Deploy Manager XML file java.io.IOException: Cannot parse Deploy Manager XML file java.lang.NullPointerException

-


Can anyone please help?

Thanks,

Sumod

Not what you were looking for? View more on this topic or Ask a question