APAR status
Closed as program error.
Error description
com.ibm.websphere.servlet.response.StoredResponse.setBufferSize
does not check for the writer being null. Results in
NullPointerException
After adding a Servlet Chaining defintion to a WebService, it
failswith the following exception:
WebGroup E SRVE0026E: [Servlet Error]-[WebServicesServlet]:
java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.NullPointerException.<init>
at com.ibm.websphere.servlet.response.StoredResponse.
setBufferSize
at
com.ibm.ws.webservices.engine.transport.http.WebServicesServlet.
doPost
at javax.servlet.http.HttpServlet.service
at com.ibm.ws.webservices.engine.transport.http.
WebServicesServletBase.service
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server user *
* applications accessing *
* request.StoredResponse object *
****************************************************************
* PROBLEM DESCRIPTION: In a servlet chainging secario, the *
* StoredResponse.setBuffersize was *
* invoked. However, the method did not *
* check for null writer and performed a *
* flush action. As a result, this caused *
* a NullPointerException. *
****************************************************************
* RECOMMENDATION: *
****************************************************************
NullPointerException was thrown by StoredResponse.setBufferSize
method. The method should check if the writer of the Response
object exists before invoking a flush action.
Problem conclusion
Null checking code was added to the StoredResponse class before
invoking flush action on the writer object.
Temporary fix Comments
APAR information |
APAR number |
PQ83886 |
Reported component name |
WEBSPHERE AE NT |
Reported component ID |
5630A2201 |
Reported release |
00W |
Status |
CLOSED PER |
PE |
NoPE |
HIPER |
NoHIPER |
Special Attention |
NoSpecatt |
Submitted date |
2004-01-28 |
Closed date |
2004-02-12 |
Last modified date |
2006-06-15 |
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
Publications Referenced
|
Fix information |
Fixed component name |
WAS BASE 5.0 |
Fixed component ID |
5630A3600 |
Applicable component levels |
R003 PSY |
UP |
R00A PSY |
UP |
R00H PSY |
UP |
R00I PSY |
UP |
R00P PSY |
UP |
R00S PSY |
UP |
R00W PSY |
UP |
R103 PSY |
UP |
R10A PSY |
UP |
R10H PSY |
UP |
R10I PSY |
UP |
R10P PSY |
UP |
R10S PSY |
UP |
R10W PSY |
UP |
|