IBM Support

PH35698: NULLPOINTEREXCEPTION FROM ORG.ECLIPSE.JEM.UTIL.REGISTRYREADER.READREGISTRY DURING APPLICATION UPDATE

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

  • In rare circumstances, a NullPointerException can occur during
    application update, occurring from
    org.eclipse.jem.util.RegistryReader.readRegistry.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server                                      *
    ****************************************************************
    * PROBLEM DESCRIPTION: In rare circumstances, a                *
    *                      NullPointerException might occur        *
    *                      during application update in            *
    *                      RegistryReader.readRegistry.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    In rare circumstances, a NullPointerException can occur during
    application update, occurring from
    org.eclipse.jem.util.RegistryReader.readRegistry.
    The following stack trace will be found in the log files:
    Caused by: java.lang.NullPointerException
    at
    org.eclipse.jem.util.RegistryReader.readRegistry(RegistryReader.
    java:120)
    at
    org.eclipse.wst.common.internal.emf.utilities.TranslatorManager.
    <init>(TranslatorManager.java:57)
    at
    org.eclipse.wst.common.internal.emf.utilities.TranslatorManager.
    <clinit>(TranslatorManager.java:33)
    at
    org.eclipse.wst.common.internal.emf.utilities.TranslatorService.
    getTranslatorDescriptors(TranslatorService.java:54)
    at
    org.eclipse.wst.common.internal.emf.utilities.TranslatorService.
    getTranslators(TranslatorService.java:62)
    at
    org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.
    initChildTranslators(EMF2DOMAdapterImpl.java:414)
    at
    org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.
    <init>(EMF2DOMAdapterImpl.java:301)
    at
    org.eclipse.wst.common.internal.emf.resource.EMF2DOMAdapterImpl.
    <init>(EMF2DOMAdapterImpl.java:278)
    at
    org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.cre
    ateRootDOMAdapter(EMF2DOMRenderer.java:528)
    at
    org.eclipse.wst.common.internal.emf.resource.EMF2DOMRenderer.doL
    oad(EMF2DOMRenderer.java:331)
    at
    org.eclipse.wst.common.internal.emf.resource.TranslatorResourceI
    mpl.basicDoLoad(TranslatorResourceImpl.java:633)
    at
    org.eclipse.jst.j2ee.internal.xmltrim.XMLTrimResourceImpl.basicD
    oLoad(XMLTrimResourceImpl.java:231)
    ...
    

Problem conclusion

  • It was found that a deployed application was actually
    using the eclipse framework shipped with WebSphere Application
    Server. The application makes a call to shutdown part of the
    framework in the middle of the server's lifecycle which leads
    to the null registry and ultimately the NPE.
    
    The WebSphere Application Server code has been updated to
    detect a null extension registry and skip using it when it is
    null.
    
    The fix for this APAR is targeted for inclusion in fix pack
    8.5.5.21 and 9.0.5.9. For more information, see 'Recommended
    Updates for WebSphere Application Server':
    https://www.ibm.com/support/pages/node/715553
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH35698

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    900

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-03-24

  • Closed date

    2021-05-18

  • Last modified date

    2021-07-01

  • 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 APP S

  • Fixed component ID

    5724J0800

Applicable component levels

[{"Type":"MASTER","Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
02 July 2021