PQ60709: JAVA.LANG.NULLPOINTEREXCEPTION DEPLOYING EAR FILE IN WEBSPHERE APPLICATION SERVER ZOS OS/390 FROM WSAD

APAR status
Closed as fixed if next.

Error description
When deploying an ear file built with WSAD (WebSphere Studio
Application Developer), and then running the ear file through
the 390 AAT, attempting to deploy the application into WebSphere
Application Server v4.01 for zOS results in a
java.lang.nullPointerException
at com.ibm.etools.commonarchive.impl.EARFileImpl.getOptionsForOp
ening(EARFileImpl.java:469)
The problem is that the ibm-application-ext.xmi file does not
contain all of the modules in the ear file (modules - webapps +
ejbs). When WebSphere detects this file at init time, it
attempts to find the pointer to these modules in the xmi file,
and they do not exist.
Local fix
delete the ibm-application-ext.xmi file from the ear before
deploying.
Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 V4.0 and V4.0.1 for z/OS and OS/390          *
****************************************************************
* PROBLEM DESCRIPTION: When deploying an ear file built with   *
*                      WSAD (WebSphere Studio Application      *
*                      Developer), then running the ear        *
*                      file through the Application Assembly   *
*                      Tool (AAT) for z/OS and OS/390,         *
*                      attempting to deploy the application    *
*                      into WebSphere Application Server       *
*                      V4.01 for z/OS results in a             *
*                      NullPointerException.                   *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Deploying an application ear file which has been built with
WSAD (WebSphere Application Developer) tool, user may receive
a 'java.lang.NullPointerExceptionNullPointer' exception.
Traceback shows the following:
.
java.lang.NullPointerException
.at com.ibm.etools.commonarchive.impl.EARFileImpl.
 getOptionsForOpening (EARFileImpl.java:469)
.at com.ibm.etools.commonarchive.impl.EARFileImpl.
 openNestedArchive (EARFileImpl.java:636)
.at com.ibm.etools.archive.impl.LoadStrategyImpl.
 openNestedArchive (LoadStrategyImpl.java:206)
.at com.ibm.etools.archive.impl.LoadStrategyImpl.
 createFile (LoadStrategyImpl.java:60)
.at com.ibm.etools.archive.impl.DirectoryLoadStrategyImpl.
 addFile (DirectoryLoadStrategyImpl.java:28)
.at com.ibm.etools.archive.impl.DirectoryLoadStrategyImpl.
 addFiles (DirectoryLoadStrategyImpl.java:46)
.at com.ibm.etools.archive.impl.DirectoryLoadStrategyImpl.
 getFiles (DirectoryLoadStrategyImpl.java:85)
.at com.ibm.etools.archive.impl.DirectoryArchiveLoadStrategyImpl
 .getFiles(DirectoryArchiveLoadStrategyImpl.java:33)
.at com.ibm.etools.commonarchive.impl.ContainerImpl.
 getFiles (ContainerImpl.java:193)
.at com.ibm.etools.commonarchive.impl.EARFileImpl.
 getModuleFiles (EARFileImpl.java:455)
.at com.ibm.ws.runtime.Server.getClassLoader(Server.java:900)
.
WSAD generates distributed WebSphere versions of the meta-data
in forms of 'ibm-XXX-ext.xmi' files.  These files get
translated (converted to the S/390 & z/OS flavor of meta-data)
when processed through the 390 AAT tool.  During this
conversion these 'ibm-XXX-ext.xmi' files become incompatable
with the latest version of WebSphere Distributed's meta-data
handler code, which is running in the Web Container part of
WebSphere for z/OS.
Problem conclusion Temporary fix Comments
This APAR is being closed FIN with concurrence from the
submitting customer. A solution to this problem will be
delivered in an Application Assembly Tool (AAT) for z/OS
and OS/390 driver within the next 18 months.
APAR information
APAR number PQ60709
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 401
Status CLOSED FIN
PE NoPE
HIPER NoHIPER
Submitted date 2002-05-01
Closed date 2002-05-31
Last modified date 2002-06-04

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

Fix information
Fixed component name WASKBASE
Fixed component ID 5655A9801

Applicable component levels
R401 PSN    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 401
Software edition:
Reference #: PQ60709
IBM Group: Software Group
Modified date: Jun 4, 2002