IBM Support

PM38438: DURING SERVER STARTUP, A NULLPOINTEREXCEPTION OCCURS IN COMMONPLUGIN$IMPLEMENTATION.LOADCLASS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • A NullPointerException occurs during the startup of an
    application. The stack is:
    
    java.lang.NullPointerException
    at org.eclipse.emf.common.
        CommonPlugin$Implementation.loadClass(CommonPlugin.java:198)
    at org.eclipse.emf.common.
        CommonPlugin.loadClass(CommonPlugin.java:98)
    at org.eclipse.emf.ecore.xmi.util.
        DefaultEcoreBuilder.<clinit>(DefaultEcoreBuilder.java:54)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
    at org.eclipse.emf.ecore.xmi.impl.
        XMLHandler.createEcoreBuilder(XMLHandler.java:2822)
    at org.eclipse.emf.ecore.xmi.impl.
        XMLHandler.<init>(XMLHandler.java:397)
    at org.eclipse.emf.ecore.xmi.impl.
        SAXXMLHandler.<init>(SAXXMLHandler.java:44)
    at org.eclipse.emf.ecore.xmi.impl.
        XMLLoadImpl.makeDefaultHandler(XMLLoadImpl.java:310)
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server V8.0                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION: Application startup generates           *
    *                      NullPointerException from               *
    *                      class CommonPlugin and method           *
    *                      loadClass in system error log files.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    A NullPointerException can occur during the startup of an
    application.  The exception appears in the application
    server trace log files and in the application system error log
    files.  For example:
    
    java.lang.NullPointerException
    at org.eclipse.emf.common.CommonPlugin$Implementation.
    loadClass(CommonPlugin.java:198)
    at org.eclipse.emf.common.CommonPlugin.
    loadClass(CommonPlugin.java:98)
    at org.eclipse.emf.ecore.xmi.util.DefaultEcoreBuilder.
    <clinit>(DefaultEcoreBuilder.java:54)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.
    createEcoreBuilder(XMLHandler.java:2822)
    at org.eclipse.emf.ecore.xmi.impl.XMLHandler.
    <init>(XMLHandler.java:397)
    at org.eclipse.emf.ecore.xmi.impl.SAXXMLHandler.
    <init>(SAXXMLHandle r.java:44)
    at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.
    makeDefaultHandler(XMLLoadImpl.java:310)
    
    Processing continues following the exception, however, memory
    usage increases by up to 5% and additional processing is
    triggered for the application which is being started.
    
    The problem is specific to applications which have JavaEE5
    enabled modules.
    

Problem conclusion

  • The problem occurs because of a faulty code dependency in the
    code used to load the XML file "ibm-metadata.xml".  The XML file
    "ibm-metadata.xml" is a new IBM generated file which is used to
    store annotations derived module metadata.  The faulty
    dependency causes an attempt to load a class which is not
    necessary for the XML load.
    
    The problem was resolved by removing the unnecessary code
    dependency from the code used to load "ibm-metadata.xml".
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.0.0.1.  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

    PM38438

  • Reported component name

    WEBSPHERE APP S

  • Reported component ID

    5724J0800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-04

  • Closed date

    2011-06-15

  • Last modified date

    2011-06-15

  • 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

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

Document Information

Modified date:
27 October 2021