IBM Support

PI22432: JAVA.LANG.NULLPOINTEREXCEPTION IN INTERNAL JAXWSINJECTIONMETADATALISTENER INTERFACE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • You may experience a defect in the internal Libery JAX-WS
    injection code when using JAX-WS Web Services interface in
    Liberty profile.
    Here is an example of NPE:
    -----------------------------------
    java.lang.NullPointerException
     at
    com.ibm.ws.jaxws.support.JaxWsInjectionMetaDataListener.injectio
    nMetaDataCreated(JaxWsInjectionMetaDataListener.java:43)
     at
    com.ibm.ws.injectionengine.AbstractInjectionEngine.notifyInjecti
    onMetaDataListeners(AbstractInjectionEngine.java:1108)
     at
    com.ibm.ws.injectionengine.AbstractInjectionEngine.processInject
    ionMetaData(AbstractInjectionEngine.java:488)
     at
    com.ibm.ws.injectionengine.OSGiInjectionEngineImpl.processApplic
    ationReferences(OSGiInjectionEngineImpl.java:733)
     at
    com.ibm.ws.injectionengine.OSGiInjectionEngineImpl.applicationSt
    arting(OSGiInjectionEngineImpl.java:648)
     at
    com.ibm.ws.container.service.state.internal.ApplicationStateMana
    ger.fireStarting(ApplicationStateManager.java:29)
     ... 10 more
    This defect was reported in Liberty Profile V8.5.5.2.
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Liberty    *
    *                  Profile users of JAX-WS web services        *
    ****************************************************************
    * PROBLEM DESCRIPTION: A java.lang.NullPointerException may    *
    *                      occur when enabling  Liberty trace      *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When you enable the Liberty trace string, it may encounter a
    java.lang.NullPointerException when printing out the trace info.
    That is due to lack of a null pointer check in the
    "injectionMetaDataCreated()" method of class
    "JaxWsInjectionMetaDataListener" when getting the ModuleMetaData
    object.
    

Problem conclusion

  • Added a null pointer check in the "injectionMetaDataCreated()"
    method of class "JaxWsInjectionMetaDataListener" to avoid the
    java.lang.NullPointerException.  The fix for this APAR is
    currently targeted for inclusion in fix pack 8.5.5.5.  Please
    refer to the Recommended Updates page for delivery information:
    http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
    

Temporary fix

  • Do not enable the trace string "com.ibm.ws.jaxws.*=all".
    

Comments

APAR Information

  • APAR number

    PI22432

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-07-21

  • Closed date

    2014-10-15

  • Last modified date

    2015-02-18

  • 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

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • 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":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 April 2022