PQ70734: JAVA.LANG.STRINGINDEXOUTOFBOUNDSEXCEPTION IS THROWN WHILE RUNNING A JSP IN WTE DEBUG MODE.

 A fix is available

4.0.6: WebSphere Application Server Version 4.0 Fix Pack 6



APAR status
Closed as program error.

Error description
If the length of a line in JSP source is greater than 255 chars,
while running the JSP in debug mode in WTE 4.0 the following
exception is thrown:
java.lang.StringIndexOutOfBoundsException: String index out of
range: 302
 at java.lang.String.substring(String.java:2038)
 at org.apache.jasper.compiler.ibmdebug.ClassLineModifier.
 createSourceToSourceVector(ClassLineModifier.java:209)
.............
.
WSAD WTE WebSphere String index out of range debug
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server developers      *
*                 debugging JSPs.                              *
****************************************************************
* PROBLEM DESCRIPTION: WebSphere throws a                      *
*                      StringIndexOutOfBoundsException when    *
*                      creating a debuggable JSP classfile.    *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
A StringIndexOutOfBoundsException is thrown when attempting to
create a debuggable JSP classfile containing a debuggable line
greater than 255 characters.  The code was written with
the assumption that no line would exceed this line length
limit.
Problem conclusion
Modified the code to remove the limitation of source code
line lengths from the ClassLineModifier used by the JSP
debugger.
Temporary fix Comments
APAR information
APAR number PQ70734
Reported component name WEBSPHERE AES N
Reported component ID 5630A2301
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-02-06
Closed date 2003-02-07
Last modified date 2003-02-07

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
JSP          

SRLS

Fix information
Fixed component name WEBSPHERE AES N
Fixed component ID 5630A2301

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ70734
IBM Group: Software Group
Modified date: Feb 7, 2003