PQ74316: NULLPOINTEREXCEPTION IN WEBAPPREQUESTDISPATCHER WHEN DYNACACHE IS ENABLED.

 Fixes are available

PQ74316, 5.0.x: Problem with StoredResponse of a JSP
5.0.2: WebSphere Application Server Version 5.0 Fix Pack 2 (Version 5.0.2)



APAR status
Closed as program error.

Error description
NullPointerException is thrown when dynachche is enabled and
when you hit an URL that uses stored response of a jsp having a
jsp:forward tag.
The following is the exception stack:
java.lang.NullPointerException
com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWeb
Dispatch 746
Exception = java.lang.NullPointerException
Source = com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server 5.0 and 5.0.1   *
*                 users with cache enabled                     *
****************************************************************
* PROBLEM DESCRIPTION: WebAppRequestDispatcher throws          *
*                      NullPointerException during             *
*                      flushing the buffer of a stored         *
*                      response.                               *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The flushBuffer and reset methods of the WebAppRequestDispatcher
class did not check for null value of Printwriter and
Outputstream. The caused a NullPointerException when flushing
the Printwriter and Outputstream.
Problem conclusion
This problem is resolved by adding the checking of null value
Printwriter and Outputstream.
Temporary fix
test fix released to 
pq99999
Comments
APAR information
APAR number PQ74316
Reported component name WAS BASE 5.0
Reported component ID 5630A3600
Reported release 00W
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Special Attention NoSpecatt
Submitted date 2003-05-19
Closed date 2003-05-22
Last modified date 2003-05-22

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
ENGINE          

Publications Referenced

Fix information

Applicable component levels
R003 PSY    UP
R00A PSY    UP
R00H PSY    UP
R00I PSY    UP
R00S PSY    UP
R00W PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 00W
Software edition:
Reference #: PQ74316
IBM Group: Software Group
Modified date: May 22, 2003