PQ55171: CODE GENERATED BY JSP COMPILER IS NOT CHECKING FOR VALID OUT "JSP WRITER" BEFORE DOING AN OUT.FLUSH

APAR status
Closed as program error.

Error description
Customer is receiving a NullPointer Exception at high loads.  Th
e code generated by te JSP compiler is not checking for valid ou
t "JSP writer" before doing an out.flush.  This problem occurs o
n WAS 3.5.x.
Local fix
The NullPointer exception is caused by a problem with sessions.
If the customer fixes the session problem then they will not get
 the exception.  However, we still have the problem with the JSP
 compiler not checking for vaild out"JSP Writer" before doing a
flush.
Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 4.0             *
*                 developers using jsp processor 1.1.          *
****************************************************************
* PROBLEM DESCRIPTION: NullPointerException in JspServlet      *
*                      is masking the actual exception         *
*                      being thrown.                           *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
Error handling is not properly checking for valid objects
when an exception is thrown.  If an exception is thrown
prior to the initialization of the PrintWriter, a
NullPointerException is thrown thus hiding the
true exception that caused the jsp to stop processing.
Problem conclusion
Modified the generated java code to verify that the
PrintWriter object is not null before making any
calls involving the outputstream in the exception
handling code.
Temporary fix Comments
APAR information
APAR number PQ55171
Reported component name WEBPSHERE AE HP
Reported component ID 5630A2203
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2001-11-26
Closed date 2001-11-26
Last modified date 2001-12-21

APAR is sysrouted FROM one or more of the following:
PQ54916

APAR is sysrouted TO one or more of the following:

Modules/Macros
JSP          

Fix information
Fixed component name WEBPSHERE AE HP
Fixed component ID 5630A2203

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 #: PQ55171
IBM Group: Software Group
Modified date: Dec 21, 2001