PQ86297: 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 * * 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 is sysrouted FROM one or more of the following: PQ84934 APAR is sysrouted TO one or more of the following: Modules/Macros
|
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
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.