IBM Support

PH47492: 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 with applications that   *
    *                  directly use the EMF included in IBM        *
    *                  WebSphere Application Server                *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException might occur      *
    *                      during application update in class      *
    *                      RegistryReader.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A NullPointerException might 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 IBM WebSphere
    Application Server. The application makes a call to shut down
    part of the framework in the middle of the server's lifecycle
    which leads to the null registry and ultimately the NPE.
    
    The code in the eclipse framework shipped with WebSphere
    Application Server 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.24 and 9.0.5.15. 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

    PH47492

  • 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

    2022-06-23

  • Closed date

    2023-02-08

  • Last modified date

    2023-02-08

  • 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":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
09 February 2023