IBM Support

PI47103:java.lang.nullpointerexception when using async servlets and pmi

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.

[{"INLabel":"V85 Readme","INLang":"US English","INSize":"5224","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PI47103/8.5.5.8/readme.txt"}]
On
[{"DNLabel":"8.5.5.6-WS-WAS-IFPI47103","DNDate":"02-01-2016","DNLang":"US English","DNSize":"329942","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.6-WS-WAS-IFPI47103&productid=WebSphere Application Server&brandid=5","DNURL_FTP":" ","DDURL":null},{"DNLabel":"8.5.5.7-WS-WAS-IFPI47103","DNDate":"02-01-2016","DNLang":"US English","DNSize":"330064","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.7-WS-WAS-IFPI47103&productid=WebSphere Application Server&brandid=5","DNURL_FTP":" ","DDURL":null},{"DNLabel":"8.5.5.8-WS-WAS-IFPI47103","DNDate":"02-01-2016","DNLang":"US English","DNSize":"330025","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.8-WS-WAS-IFPI47103&productid=WebSphere Application Server&brandid=5","DNURL_FTP":" ","DDURL":null},{"DNLabel":"8.5.5.5-WS-WAS-IFPI47103","DNDate":"26 Feb 2016","DNLang":"US English","DNSize":"329981","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"http://www-933.ibm.com/eserver/support/fixes/fixcentral/swgquickorder?fixes=8.5.5.5-WS-WAS-IFPI47103&productid=WebSphere Application Server&brandid=5","DNURL_FTP":" ","DDURL":null}]

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).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"8.5.5.8;8.5.5.7;8.5.5.6;8.5.5.5","Edition":"Advanced;Base;Developer;Enterprise;Network Deployment;Single Server","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg24041691