IBM Support

PI51134: NPE IF ALL INTERCEPTORS ARE ON METHODS THAT ARE OVERRIDEN, DEFINED AT CLASS LEVEL OR DEFINED IN A DIFFERENT METHOD

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

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(Intercep
    torHandl
    er.java:266) [org.apache.webbeans.jar:na]
    at
    org.apache.webbeans.intercept.DependentScopedBeanInterceptorHand
    ler.invo
    ke(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:                                              *
    ****************************************************************
    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(Intercep
    torHandler.java:266) [org.apache.webbeans.jar:na]
    at
    org.apache.webbeans.intercept.DependentScopedBeanInterceptorHand
    ler.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
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI51134

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-23

  • Closed date

    2016-02-10

  • Last modified date

    2016-02-12

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBSPHERE APP S

  • Fixed component ID

    5724J0800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
14 October 2021