IBM Support

PI60228: CDI INJECTION NOT WORKING AFTER APPLICATION RESTART

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The customer is having issue with CDI injection not working
    after application restart. After the restart the customer is
    getting following NullPointerException.
    .
    [4/1/16 11:10:25:232 CEST] 00000030 LocalExceptio E   CNTR0020E:
    EJB threw an unexpected (non-declared) exception during
    invocation of method "onTimeout" on bean
    "BeanId(cdi-bug-ear#cdi-bug-ejb.jar#OtherSessionBean, null)".
    Exception data: java.lang.NullPointerException
     at
    ch.css.ibm.cdi.bug.ejb.OtherSessionBean.onTimeout(OtherSessionBe
    an.java:31)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:60)
     at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    Accessor...
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: CDI injection is not working after      *
    *                      application restart                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Contexts and Dependency Injection (CDI) injection works
    correctly when the application is first started but fails upon
    restarting the application until the server is also restarted.
    

Problem conclusion

  • Stale data was cleaned up during application shutdown to
    prevent it causing problems during the restart
    
    The fix for this APAR is currently targeted for inclusion in
    fix packs 8.5.5.11 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

    PI60228

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-05

  • Closed date

    2016-10-26

  • Last modified date

    2016-10-26

  • 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

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

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 April 2022