IBM Support

PH42822: WEBSPHERE LIBERTY Z/OS 20.0.0.9 JAVA.LANG.NULLPOINTEREXCEPTION AT COM.IBM.WS.JAXRS.JAXRSRUNTIMEDELEGATE$CLASSLOADERREFERENCE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • org.apache.kafka.common.errors.SerializationException: Error
    serializing Avro message
    [err] Caused by:
    
    [err] java.lang.NullPointerException
    [err] 	at
    com.ibm.ws.jaxrs.JAXRSRuntimeDelegate$ClassLoaderRefe
    rence.<init>(JAXRSRuntimeDelegate.java:54)
    [err] 	at [internal classes]
    [err] 	at
    com.ibm.ws.jaxrs.JAXRSRuntimeDelegate.access$000(JAXR
    SRuntimeDelegate.java:42)
    [err] 	at
    com.ibm.ws.jaxrs.JAXRSRuntimeDelegate$1.run(JAXRSRunt
    imeDelegate.java:116)
    [err] 	at [internal classes]
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server Liberty - JAX-RS                     *
    ****************************************************************
    * PROBLEM DESCRIPTION: A thread containing a null CCL(Context  *
    *                      Classloader) used for JAXRS processing  *
    *                      will result in a NullPointerException   *
    *                      in the                                  *
    *                      com.ibm.ws.jaxrs.JAXRSRuntimeDelegate   *
    *                      class.                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Normally, if an application needs to change the context
    classloader, or null it out for a thread they will save the
    current CCL and then re-set it when their operations have
    completed.   If the CCL remains null and JAXRS processing is
    attempted a NullPointerException in JAXRSRuntimeDelegate will
    result.
    
    This is not a regression.
    

Problem conclusion

  • Adding the CWSRS1009W (nullContextClassloaderWarning) message to
    alert the user to this situation and provide information.
    
    
    The fix for this APAR is currently targeted for inclusion in fix
    pack 22.0.0.5.  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

    PH42822

  • Reported component name

    LIBERTY PROF -

  • Reported component ID

    5655W6514

  • Reported release

    CD0

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-12-14

  • Closed date

    2022-03-16

  • Last modified date

    2022-03-16

  • 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 PROF -

  • Fixed component ID

    5655W6514

Applicable component levels

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M"},"Platform":[{"code":"PF054","label":"z\/OS"}],"Version":"CD0"}]

Document Information

Modified date:
17 March 2022