IBM Support

PI51620: NULLPOINTEREXCEPTION WHEN DOING INJECTION WITH COM.IBM.WS.CDI.IMMEDIATE.EJB.START SET TO TRUE

Fixes are available

8.5.5.11: WebSphere Application Server V8.5.5 Fix Pack 11
16.0.0.3: WebSphere Application Server Liberty 16.0.0.3
16.0.0.4: WebSphere Application Server Liberty 16.0.0.4
8.0.0.13: WebSphere Application Server V8.0 Fix Pack 13
8.5.5.12: WebSphere Application Server V8.5.5 Fix Pack 12
8.0.0.14: WebSphere Application Server V8.0 Fix Pack 14
8.5.5.13: WebSphere Application Server V8.5.5 Fix Pack 13
17.0.0.1: WebSphere Application Server Liberty 17.0.0.1
8.0.0.15: WebSphere Application Server V8.0 Fix Pack 15
17.0.0.2: WebSphere Application Server Liberty 17.0.0.2
17.0.0.3: WebSphere Application Server Liberty 17.0.0.3
17.0.0.4: WebSphere Application Server Liberty 17.0.0.4
18.0.0.1: WebSphere Application Server Liberty 18.0.0.1
18.0.0.2: WebSphere Application Server Liberty 18.0.0.2
8.5.5.14: WebSphere Application Server V8.5.5 Fix Pack 14
18.0.0.3: WebSphere Application Server Liberty 18.0.0.3
18.0.0.4: WebSphere Application Server Liberty 18.0.0.4
19.0.0.1: WebSphere Application Server Liberty 19.0.0.1
8.5.5.15: WebSphere Application Server V8.5.5 Fix Pack 15
19.0.0.2: WebSphere Application Server Liberty 19.0.0.2
19.0.0.3: WebSphere Application Server Liberty 19.0.0.3
19.0.0.4: WebSphere Application Server Liberty 19.0.0.4
19.0.0.5: WebSphere Application Server Liberty 19.0.0.5
19.0.0.6: WebSphere Application Server Liberty 19.0.0.6
19.0.0.7: WebSphere Application Server Liberty 19.0.0.7
19.0.0.8: WebSphere Application Server Liberty 19.0.0.8
19.0.0.9: WebSphere Application Server Liberty 19.0.0.9
19.0.0.10: WebSphere Application Server Liberty 19.0.0.10
19.0.0.11: WebSphere Application Server Liberty 19.0.0.11
19.0.0.12: WebSphere Application Server Liberty 19.0.0.12
20.0.0.1: WebSphere Application Server Liberty 20.0.0.1
20.0.0.2: WebSphere Application Server Liberty 20.0.0.2
8.5.5.17: WebSphere Application Server V8.5.5 Fix Pack 17
20.0.0.3: WebSphere Application Server Liberty 20.0.0.3
20.0.0.4: WebSphere Application Server Liberty 20.0.0.4
20.0.0.5: WebSphere Application Server Liberty 20.0.0.5
20.0.0.6: WebSphere Application Server Liberty 20.0.0.6
20.0.0.7: WebSphere Application Server Liberty 20.0.0.7
20.0.0.8: WebSphere Application Server Liberty 20.0.0.8
20.0.0.9: WebSphere Application Server Liberty 20.0.0.9
20.0.0.10: WebSphere Application Server Liberty 20.0.0.10
20.0.0.11: WebSphere Application Server Liberty 20.0.0.11
20.0.0.12: WebSphere Application Server Liberty 20.0.0.12

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • NullPointerException is encountered when application is doing
    injection and the following setting is present:
    
    com.ibm.ws.cdi.immediate.ejb.start=true
    
    java.lang.NullPointerException
    at com.ibm.ws.webbeans.services.ResourceInjectionServiceImpl.inj
      ectJavaEEResources(ResourceInjectionServiceImpl.java:541)
    at org.apache.webbeans.component.AbstractInjectionTargetBean.inj
      ectResources(AbstractInjectionTargetBean.java:414)
    at org.apache.webbeans.portable.creation.InjectionTargetProducer
      .inject(InjectionTargetProducer.java:93)
    at org.apache.webbeans.component.InjectionTargetWrapper.inject(I
      njectionTargetWrapper.java:80)
    at org.apache.webbeans.component.AbstractOwbBean.create(Abstract
      OwbBean.java:175)
    at abc.xyz.get
    at org.apache.webbeans.context.CustomContextImpl.get(CustomConte
      xtImpl.java:43)
    at org.apache.webbeans.container.BeanManagerImpl.getReference(Be
      anManagerImpl.java:961)
    at org.apache.webbeans.container.InjectableBeanManager.getRefere
      nce(InjectableBeanManager.java:140)
    ...
    

Local fix

  • If possible, remove definition for this variable or set it to
    false (default).  This variable was introduced at 8.0.0.4 and
    8.5.0.1.
    
    com.ibm.ws.cdi.immediate.ejb.start=false
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0 and V8.5                        *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException when               *
    *                      com.ibm.ws.cdi.immediate.ejb.start=true *
    *                                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A null pointer exception can be seen coming from
    ResourceInjectionServiceImpl when
    com.ibm.ws.cdi.immediate.ejb.start=true
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI51620

  • Reported component name

    WEBSPHERE FOR Z

  • Reported component ID

    5655I3500

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-10-30

  • Closed date

    2016-10-25

  • Last modified date

    2016-10-25

  • 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 FOR Z

  • Fixed component ID

    5655I3500

Applicable component levels

  • R850 PSY

       UP

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

Document Information

Modified date:
14 October 2021