PQ92289: JAVA.LANG.ARRAYINDEXOUTOFBOUNDSEXCEPTION | |||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||
![]() APAR status Closed as program error. Error description The WorkArea Service causes a java.lang.ArrayIndexOutOfBoundsException whenever an application calls many J2EE components in a row (e.g. servlet chaining)Local fix Problem summary **************************************************************** * USERS AFFECTED: Users of the Work Area service in * * WebSphere versions 5.0, 5.0.1, 5.0.2.*. * **************************************************************** * PROBLEM DESCRIPTION: The WorkArea Service causes a * * java.lang. * * ArrayIndexOutOfBoundsException * * whenever an application calls many * * J2EE components in a row (e.g. * * servlet chaining). * **************************************************************** * RECOMMENDATION: * **************************************************************** The WorkArea Service throws a java.lang. ArrayIndexOutOfBoundsException whenever an application calls many J2EE components in a row (e.g. servlet chaining). For example, if an application calls an EJB which in turn calls another EJB which in turn calls another EJB, and on and on, at a certain point the array which the WorkArea services uses to store this call path information may reach the array bounds. Normally WorkArea would increment the array bounds once the maximum bound is reached. However, if the depth of the call chain ends at exactly the array bounds, a problem in the WorkArea code doesn't allow for the array bounds checking, thus causing a java.lang.ArrayIndexOutOfBoundsException as the call chain returns. Although this scenario is tough to reach it isn't entirely impossible either.Problem conclusion The code causing the java.lang.ArrayIndexOutOfBoundsException be thrown in the Work Area service when it chains calls to j2ee components has been fixed.Temporary fix Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: PQ97083 Modules/Macros Publications Referenced
|
Product categories: Software > Application Servers >
Distributed Application & Web Servers > WebSphere Application
Server > Enterprise Edition (EE)
Operating system(s):
Software version: 00S
Software edition:
Reference #: PQ92289
IBM Group: Software Group
Modified date: Nov 11, 2004
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.