IBM Support

PM65985: CONTEXTS AND DEPENDENCY INJECTION (CDI) BUILT-IN PRINCIPAL BEAN MAY BE NULL WHEN INJECTED INTO AN EJB.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException may occur when performing operations on a
    Principal injected by Contexts and Dependency Injection (CDI).
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server version 8  *
    *                  users of Contexts and Dependency Injection  *
    *                  (CDI) with EJB.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION: Subsequent requests to the same EJB     *
    *                      that                                    *
    *                      injects the CDI built-in Principal bean *
    *                      might fail with a                       *
    *                      NullPointerException.                   *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The mechanism used to track the Principal bean injected via CDI
    does not properly track between requests to the same EJB.  This
    can lead to a NullPointerException if later requests reference
    the Principal bean.
    

Problem conclusion

  • Corrected the tracking of Principal bean so that it is updated
    for subsequent requests to the same EJB.
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.0.0.4 and 8.5.0.1.  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

    PM65985

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-06-01

  • Closed date

    2012-07-09

  • Last modified date

    2012-07-09

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021