Download
Abstract
A java.lang.NullPointerException might occur when using async requests and PMI
Download Description
PI47103 resolves the following problem:
ERROR DESCRIPTION:
Details: When an application uses async servlets and PMI is enabled a java.lang.NullPointerException might be seen.
The following is an example of the stack trace generated:
java.lang.NullPointerException
at
com.ibm.ws.webcontainer.WebAppPmiListener.onComplete(WebAppPmiListener.java:363)
at
com.ibm.ws.webcontainer.async.AsyncListenerEntry.invokeOnComplete(AsyncListenerEntry.java:85)
at
com.ibm.ws.webcontainer.async.CompleteRunnable.invokeOnComplete(CompleteRunnable.java:61)
at
com.ibm.ws.webcontainer.async.CompleteRunnable.run(CompleteRunnable.java:40)
at
com.ibm.ws.webcontainer.async.WSCompleteRunnable.run(WSCompleteRunnable.java:44)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:809)
... 5 more
LOCAL FIX:
Disable PMI on the server.
PROBLEM SUMMARY
USERS AFFECTED:
IBM WebSphere Application Server Full Profile version 8.5 users of async
requests and Performance Monitoring Infrastructure(PMI).
PROBLEM DESCRIPTION:
A java.lang.NullPointerException might occur when using async requests and PMI
RECOMMENDATION:
None
When an application uses async requests and PMI is enabled, and there is an async filter doing a forward, a java.lang.NullPointerException will be seen.
The following is an example of the stack trace generated:
java.lang.NullPointerException
at
com.ibm.ws.webcontainer.WebAppPmiListener.onComplete(WebAppPmiListener.java:363)
at
com.ibm.ws.webcontainer.async.AsyncListenerEntry.invokeOnComplete(AsyncListenerEntry.java:85)
at
com.ibm.ws.webcontainer.async.CompleteRunnable.invokeOnComplete(CompleteRunnable.java:61)
at
com.ibm.ws.webcontainer.async.CompleteRunnable.run(CompleteRunnable.java:40)
at
com.ibm.ws.webcontainer.async.WSCompleteRunnable.run(WSCompleteRunnable.java:44)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:809)
... 5 more
PROBLEM CONCLUSION:
The WebContainer code was modified to avoid the exception.
The fix for this APAR is currently targeted for inclusion in fixpack 8.5.5.9.
Please refer to the recommended updates page for delivery information:
http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
Prerequisites
None
Installation Instructions
Please review the readme.txt for detailed installation instructions.
Technical Support
Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server support web site (http://www.ibm.com/software/webservers/appserv/was/support/), or contact 1-800-IBM-SERV (U.S. only).
Problems (APARS) fixed
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg24041691