PQ54158: ERRORS THROWN IN AAT DURING "GENERATE CODE FOR DEPLOYMENT".

APAR status
Closed as program error.

Error description
There is a problem with the code that
generates
the classes for entity beans with CMP.
.
Here is what we found:
.
The errors that are thrown in AAT during the "generate code for
deployment" are:
.
ejbModule/csg/datastore/ejb/EJSJDBCPersisterCMPErrorClientEBBean
.java  (
.
ejbModule/csg/datastore/ejb/EJSJDBCPersisterCMPErrorClientEBBean
.jav
 (367): The operator != is undefined for the argument type(s)
int,
null
ejbModule/csg/datastore/ejb/EJSJDBCPersisterCMPErrorClientEBBean
.java  (
.
ejbModule/csg/datastore/ejb/EJSJDBCPersisterCMPErrorClientEBBean
.jav
 (368): The method dataFrom(java.lang.Object) in the type
com.ibm.vap.converters.VapAbstractConverter is not applicable
for
the
arguments (int)
ejbModule/csg/datastore/ejb/EJSJDBCPersisterCMPErrorCodeEBBean.j
ava
(311): The operator != is undefined for the argument type(s)
int,
null
ejbModule/csg/datastore/ejb/EJSJDBCPersisterCMPErrorCodeEBBean.j
ava
(312): The method dataFrom(java.lang.Object) in the type
com.ibm.vap.converters.VapAbstractConverter is not applicable
for
the
arguments (int)
ejbModule/csg/datastore/ejb/EJSJDBCPersisterCMPErrorMapEBBean.ja
va
(347): The operator != is undefined for the argument type(s)
int,
null
ejbModule/csg/datastore/ejb/EJSJDBCPersisterCMPErrorMapEBBean.ja
va
(348): The method dataFrom(java.lang.Object) in the type
com.ibm.vap.converters.VapAbstractConverter is not applicable
for
the arguments (int)
.
The problems are happening in:
1. The findErrorClientEBByErrorCodeEB method of the
EJSJDBCPersisterCMPErrorClientEBBean class
2. The findErrorCodeEBByErrorCodeEB method of the
EJSJDBCPersisterCMPErrorCodeEBBean class
3. The findErrorCodeEBByErrorCodeEB method of the
EJSJDBCPersisterCMPErrorCodeEBBean class
4. The findErrorMapEBByErrorCodeEB method of the
EJSJDBCPersisterCMPErrorMapEBBean class
.
The problems seem to be in the following if statement (this one
is
from EJSJDBCPersisterCMPErrorClientEBBean.java, similar "if"
statements are in the other failing classes as well):
.
if ( arg0.errorId != null) {
    objectTemp =
com.ibm.vap.converters.VapNumberToIntegerConverter.singleton().d
ataFrom(
com.ibm.vap.converters.VapNumberToIntegerConverter.singleton().d
ataF
rom(arg0.errorId);
    nullData = (objectTemp == null);
}
.
arg0.errorId is of type int and therefore can not be compared to
null.  Also in the above if statement, the call to the dataForm
method takes in an int when it should take the object Integer.
.
Ken C. in development is working on a fix
The EJB Deploy developer is going to make an efix for 4.01.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users       *
*                 deploying EJBs                               *
****************************************************************
* PROBLEM DESCRIPTION: Errors are thrown in AAT during the     *
*                      "generate code for deployment"          *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
A defect was found with the code that generates the classes
for entity beans with CMP.
Problem conclusion
This problem is fixed in EJBDeploy11-1030b (which
was integrated into WS PTF 4.02 using defect 114055).
Temporary fix Comments
APAR information
APAR number PQ54158
Reported component name WEBSPHERE AES N
Reported component ID 5630A2301
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-11-02
Closed date 2001-11-05
Last modified date 2001-11-05

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
DEPLOY          

Fix information
Fixed component name WEBSPHERE AES N
Fixed component ID 5630A2301

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 #: PQ54158
IBM Group: Software Group
Modified date: Nov 5, 2001