PQ84934: ONE CHARACTER KEY FIELDS CAUSES ARRAYOUTOFBOUNDS EXCEPTION. | |||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||
![]() 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 is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: PQ86297 Modules/Macros
Publications Referenced
|
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
(C) Copyright IBM Corporation 2000, 2009. All Rights Reserved.