Download
Abstract
NullPointerException when processing CDI interceptors on methods.
Download Description
PI51134 resolves the following problem:
ERROR DESCRIPTION:
NullPointerException if all interceptors are on methods that are defined at the class level or defined in a different method
.
Exception stack:
.
Caused by: java.lang.NullPointerException: null
at java.util.ArrayList.<init>(ArrayList.java:176) ~[na:1.7.0]
at org.apache.webbeans.intercept.InterceptorHandler.invoke(InterceptorHandler.java:266) [org.apache.webbeans.jar:na]
at org.apache.webbeans.intercept.DependentScopedBeanInterceptorHandler.invoke (DependentScopedBeanInterceptorHandler.java:75)
LOCAL FIX:
N/A
PROBLEM SUMMARY
USERS AFFECTED:
All users of IBM WebSphere Application Server making use of Contexts and Dependency Injection (CDI).
PROBLEM DESCRIPTION:
NullPointerException when processing CDI interceptors on methods.
RECOMMENDATION:
None
NullPointerException when processing CDI interceptors on methods.
Characteristic top of exception stack:
Caused by: java.lang.NullPointerException: null
at java.util.ArrayList.<init>(ArrayList.java:176) ~[na:1.7.0]
at org.apache.webbeans.intercept.InterceptorHandler.invoke(InterceptorHandler.java:266) [org.apache.webbeans.jar:na]
at org.apache.webbeans.intercept.DependentScopedBeanInterceptorHandler.invoke (DependentScopedBeanInterceptorHandler.java:75)
PROBLEM CONCLUSION:
Removed duplicate get() calls to interceptor data cache, eliminating a timing window between the two calls. Reimplemented interceptor data cache so that its entries are held for the lifetime of a method's class (instead of just for the lifetime of the Method object itself).
The fix for this APAR is currently targeted for inclusion in fix packs 8.5.5.9 and 8.0.0.13. 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
swg24042029