PQ84934: ONE CHARACTER KEY FIELDS CAUSES ARRAYOUTOFBOUNDS EXCEPTION.

 A fix is 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    *
*                 V5.0 for z/OS                                *
****************************************************************
* PROBLEM DESCRIPTION: One character key fields cause a        *
*                      java.lang.                              *
*                      ArrayIndexOutOfBoundsException          *
*                      exception.                              *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
error occurs when the function
org.apache.soap.Utils.cleanString() is called with the
argument "' '"
(i.e. 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 character parameter. This has now been resolved with the
latest version of soap.jar.

APAR PQ84934 is associated with SERVICE LEVEL W502004 of
WebSphere Application Server V5.0 for z/OS.
Temporary fix Comments
APAR information
APAR number PQ84934
Reported component name WASKBASE
Reported component ID 5655A9801
Reported release 500
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2004-02-19
Closed date 2004-03-10
Last modified date 2004-04-03

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:
PQ86297

Modules/Macros
BBOUBINF          

Publications Referenced

Fix information
Fixed component name WEBSPHERE FOR Z
Fixed component ID 5655I3500

Applicable component levels
R500 PSY UQ86037    UP04/03/17 P F403

  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


Current web document: swg1PQ84934.html
Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server for z/OS
Operating system(s):
Software version: 500
Software edition:
Reference #: PQ84934
IBM Group: Software Group
Modified date: Apr 3, 2004