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 FixProblem 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.