PQ86297: ONE CHARACTER KEY FIELDS CAUSES ARRAYOUTOFBOUNDS EXCEPTION.

 A fix may be available

Obtain the fix for this APAR



APAR status
Closed as program error.

Error description
Customer is accessing db2 tables that have columns with string
values of quote chars, i.e. a value could be '"L"' where the
pics represent the string value.  They take the values and
assign them to fields of serializable beans called data
transfer objects.  The objects are then deserialized/serialized
by SOAP back to the UI.  But when one character values are used
the following error is encountered:
 SOAPException: faultCode=SOAP-ENV:Server;
msg=java.lang.ArrayIndexOutOfBoundsException
when a value of more than one character is used, it works fine.
Local fix
the temp fix is to  use multiple character values, including
leading or trailing blanks will help until fix is available.
Problem summary
****************************************************************
* USERS AFFECTED: All users of WebSphere Application Server    *
*                 version 4.0.1 for z/OS and OS/390.           *
****************************************************************
* PROBLEM DESCRIPTION: One character key fields cause a        *
*                      java.                                   *
*                      lang.ArrayIndexOutOfBoundsException     *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Error occurs while serializing application data using
org.apache.soap.Utils.cleanString() if a data element being
serialized consists of a single character argument (such as a
string comprised of single quote, blank, single quote).

Sample code:
     String input = "' '";
     String output =  org.apache.soap.Utils.cleanString(input);
Resultant call stack:
java.lang.ArrayIndexOutOfBoundsException
     at java.lang.System.arraycopy(Native Method)
     at org.apache.soap.Utils.cleanString(Unknown Source)

(Desired result is for output to contain "' '")
Problem conclusion
This error actually occurs when cleanString is called with a
single char parameter. This has now been resolved with the
latest version of soap.jar.

APAR PQ86297 is associated with SERVICE LEVEL W401612 of
WebSphere Application Server version 4.0.1 for z/OS and OS/390.
Temporary fix Comments
APAR information
APAR number PQ86297
Reported component name WEBSPHERE OS/39
Reported component ID 5655A9800
Reported release 401
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2004-03-18
Closed date 2004-05-20
Last modified date 2004-06-03

APAR is sysrouted FROM one or more of the following:
PQ84934

APAR is sysrouted TO one or more of the following:

Modules/Macros
EJSJSO02          

Fix information
Fixed component name WASKBASE
Fixed component ID 5655A9801

Applicable component levels
R401 PSY UQ88709    UP04/05/26 P F405

  Fix is available
Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.


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 #: PQ86297
IBM Group: Software Group
Modified date: Jun 3, 2004