PQ94160: java.lang.NullPointerException during XMLConfig Import operation.

APAR status
Closed as program error.

Error description
Application deploy using the XMLConfig -import operation throws
the following exception.

java.lang.NullPointerException
        at
com.ibm.ejs.util.mof.MofUtils.eJBJarToBytes(MofUtils.java:93)
        at
com.ibm.ejs.util.DeploymentInfo.setEJBJarDD(DeploymentInfo.
java:124)
        at com.ibm.websphere.xmlconfig.EnterpriseAppConfig.
initializeModuleBindi
ngsAndSaveDD(EnterpriseAppConfig.java:2152)
        at
com.ibm.websphere.xmlconfig.EnterpriseAppConfig.importXML
(EnterpriseA
ppConfig.java:1084)
        at
com.ibm.websphere.xmlconfig.XMLConfig.importDOM(XMLConfig.
java:1255)
        at com.ibm.websphere.xmlconfig.XMLConfig.importFromFile
(XMLConfig.java:1
008)
        at
com.ibm.ejs.sm.ejscp.commands.XMLConfigScriptCmdHandler.
doimport(XMLC
onfigScriptCmdHandler.java:229)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.ibm.ejs.sm.ejscp.commands.ScriptCommandHandler.
performAction(Scri
ptCommandHandler.java:237)
        at
com.ibm.ejs.sm.ejscp.commands.XMLConfigScriptCmdHandler.
doCommand(XML
ConfigScriptCmdHandler.java:98)
        at
com.ibm.ejs.sm.ejscp.XMLConfigCmd.cmdProc(XMLConfigCmd.java:
60)
        at tcl.lang.AutoloadStub.cmdProc(Extension.java:144)
        at tcl.lang.Parser.evalObjv(Parser.java:810)
        at tcl.lang.Parser.eval2(Parser.java:1209)
        at tcl.lang.Interp.eval(Interp.java:2042)
        at tcl.lang.Interp.eval(Interp.java:2071)
        at
com.ibm.ejs.sm.ejscp.WscpShell.main(WscpShell.java:124)
        at java.lang.reflect.Method.invoke(Native Method)
Local fix
Code Fix
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server Users on 4.0.7  *
*                 using XMLConfig                              *
****************************************************************
* PROBLEM DESCRIPTION: XMLConfig import of enterprise app      *
*                      throws NullPointerException.            *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Application deploy using the XMLConfig -import operation throws
the following exception.
java.lang.NullPointerException at
com.ibm.ejs.util.mof.MofUtils.eJBJarToBytes(MofUtils.java:93)
at com.ibm.ejs.util.DeploymentInfo.setEJBJarDD(DeploymentInfo.
java:124)
at com.ibm.websphere.xmlconfig.EnterpriseAppConfig.
initializeModuleBindingsAndSaveDD
(EnterpriseAppConfig.java:2152) at
com.ibm.websphere.xmlconfig.EnterpriseAppConfig.importXML
(EnterpriseAppConfig.java:1084)
Problem conclusion
Fixed the EnterpriseAppConfig to set the deployment descriptor
for the EJB.
Temporary fix Comments
APAR information
APAR number PQ94160
Reported component name WEBSPHERE AE SO
Reported component ID 5630A2202
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2004-09-13
Closed date 2004-10-08
Last modified date 2004-10-08

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
XMLCFG          

Fix information

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ94160
IBM Group: Software Group
Modified date: Oct 8, 2004