PQ74316: NULLPOINTEREXCEPTION IN WEBAPPREQUESTDISPATCHER WHEN DYNACACHE IS ENABLED. | |||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||
![]() 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 pq99999Comments
APAR is sysrouted FROM one or more of the following: APAR is sysrouted TO one or more of the following: Modules/Macros
Publications Referenced
|
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
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.