IBM Support

PH23010: NullPointerException can occur when JAXRS application is restarted without also restarting the containing server.

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

  • A NullPointerExeption can occur when a JAXRS applcication
    containing async activity on the server is restarted.  This
    will only occur if the corresponding server is not restarted
    when the application is restarted.   The NullPointerException
    in the logs may be similar to the following:
    
    webapp        E com.ibm.ws.webcontainer.webapp.WebApp
    initializeExtensionProcessors SRVE0280E: Extension processor
    failed to initialize in factory
    [com.ibm.ws.jaxrs20.wc.ext.JAXRSWebExtFactory@fcb03216]:
    java.lang.NullPointerException
        at
    com.ibm.ws.security.web.SecurityMetaDataListener.metaDataCreated
    (SecurityMetaDataListener.java:86)
        at
    com.ibm.ws.runtime.component.MetaDataMgrImpl.fireMetaDataCreated
    (MetaDataMgrImpl.java:432)
        at
    com.ibm.ws.runtime.component.MetaDataMgrImpl.fireMetaDataCreated
    (MetaDataMgrImpl.java:286)
        at
    com.ibm.ws.webcontainer.metadata.WebMetaDataFactory.fireMetaData
    CreatedEvent(WebMetaDataFactory.java:162)
        at
    com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.creat
    eConfig(WebExtensionProcessor.java:164)
        at
    com.ibm.ws.jaxrs20.server.component.JaxRsWebEndpointPublisher.pu
    blish(JaxRsWebEndpointPublisher.java:170)
        at
    com.ibm.ws.jaxrs20.wc.ext.JAXRSWebExtFactory.createExtensionProc
    essor(JAXRSWebExtFactory.java:108)
        at
    com.ibm.ws.webcontainer.webapp.WebApp.initializeExtensionProcess
    ors(WebApp.java:1469)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server with applications using JAXRS.       *
    ****************************************************************
    * PROBLEM DESCRIPTION: If a JAXRS application involving        *
    *                      async activity on the server can        *
    *                      experience a NPE if                     *
    *                      the application is restarted.           *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If a JAXRS application involving async activity on the server
    can experience a NullPointerException if the application is
    restarted and re-used without the corresponding server being
    recycled.
    

Problem conclusion

  • The problem has been resolved by ensuring the MetaData
    associated with the JAXRS application is cleaned up when the
    application is stopped.  This will make the behavior match
    the
    current behavior when the entire server is stopped and
    restarted.
    
    The fix for this APAR is targeted for inclusion in fix pack
    9.0.5.4.  For more information, see
    'Recommended Updates for WebSphere Application Server':
    http://www.ibm.com/support/docview.wss?
    rs=180&uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH23010

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-03-06

  • Closed date

    2020-03-23

  • Last modified date

    2020-03-23

  • 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

[{"Business Unit":{"code":"BU048","label":"IBM Software"}, "Product":{"code":"SSCVS22","label":"General"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"900","Edition":""}]

Document Information

Modified date:
23 March 2020