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 is sysrouted FROM one or more of the following: PQ54916 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 > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ55171
IBM Group: Software Group
Modified date: Dec 21, 2001
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.