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


APAR

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 3.5.5           *
*                 developers using jsp processors 1.0 and 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 numberPQ54916
Reported component nameWEBSPHR HP-UX V
Reported component ID5648C8403
Reported release350
StatusCLOSED PER
PENoPE
HIPERNoHIPER
Submitted date2001-11-16
Closed date2001-11-26
Last modified date2001-11-26

APAR is sysrouted FROM one or more of the following:

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

PQ55171

Modules/Macros
JSP
APAR is sysrouted TO one or more of the following:PQ55171Modules/Macros

Fix information
Fixed component nameWEBSPHR HP-UX V
Fixed component ID5648C8403

Applicable component levels
R350 PSYUP











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, General
Software version: 350
Reference #: PQ54916
IBM Group: Software Group
Modified date: 2001-11-26