IBM Support

PH12669: NULLPOINTEREXCEPTION OCCURS IN EMF DO TO CONCURRENT INITIALIZATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Caused by: java.lang.NullPointerException
    
    at
    org.eclipse.emf.ecore.impl.EClassImpl.getEStructuralFeature(ECla
    ssImpl.java:803)
    
    at
    com.ibm.ws.bo.BOModelHolder.getElement(BOModelHolder.java:446)
    
    at
    com.ibm.ws.bo.service.BOTypeImpl.getTypeByElement(BOTypeImpl.jav
    a:103)
    
    at
    com.ibm.ws.bo.delegate.BOTypeDelegate.getTypeByElement(BOTypeDel
    egate.java:55)
    
    at
    com.ibm.ws.sibx.mediation.primitives.headersetter.HeaderTypeSOAP
    .getBOTypeByElementFromQName(HeaderTypeSOAP.java:2422)
    
    at
    com.ibm.ws.sibx.mediation.primitives.headersetter.HeaderTypeSOAP
    .findBOTypes(HeaderTypeSOAP.java:1621)
    
    at
    com.ibm.ws.sibx.mediation.primitives.headersetter.HeaderTypeSOAP
    .validateValues(HeaderTypeSOAP.java:1602)
    
    at
    com.ibm.ws.sibx.mediation.primitives.headersetter.HeaderElement.
    validate(HeaderElement.java:317)
    

Local fix

  • n.a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server and using BPM (Business Process      *
    *                  Manager)                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION: NullPointerException occurs in EMF      *
    *                      (Eclipse Modeling Framework) during     *
    *                      initialization.                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following null pointer exception might be encountered when
    running BPM:
    Caused by: java.lang.NullPointerException
    at
    org.eclipse.emf.ecore.impl.EClassImpl.getEStructuralFeature(ECla
    ssImpl.java:803)
    at
    com.ibm.ws.bo.BOModelHolder.getElement(BOModelHolder.java:446)
    at
    com.ibm.ws.bo.service.BOTypeImpl.getTypeByElement(BOTypeImpl.jav
    a:103)
    at
    com.ibm.ws.bo.delegate.BOTypeDelegate.getTypeByElement(BOTypeDel
    egate.java:55)
    at
    com.ibm.ws.sibx.mediation.primitives.headersetter.HeaderTypeSOAP
    .getBOTypeByElementFromQName(HeaderTypeSOAP.java:2422)
    at
    com.ibm.ws.sibx.mediation.primitives.headersetter.HeaderTypeSOAP
    .findBOTypes(HeaderTypeSOAP.java:1621)
    at
    com.ibm.ws.sibx.mediation.primitives.headersetter.HeaderTypeSOAP
    .validateValues(HeaderTypeSOAP.java:1602)
    at
    com.ibm.ws.sibx.mediation.primitives.headersetter.HeaderElement.
    validate(HeaderElement.java:317)
    The EMF code is not thread-safe.  The proper way to use EMF is
    to do all model initialization using a single thread.  After
    initialization, multi-threaded access can be used.
    We suspect that BPM code is modifying the model after
    initialization is complete.  This is difficult to prove since
    the problem could not be produced when debug code was active.
    

Problem conclusion

  • Double-check locking was added to EMF to provide a small
    measure of thread-safety.  This protects the area of EMF
    code where this particular NullPointerException is thrown.
    
    The fix for this APAR is currently targeted for inclusion in
    fix pack 8.5.5.16 and 9.0.5.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

    PH12669

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-05-29

  • Closed date

    2019-07-08

  • Last modified date

    2019-07-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

  • R850 PSY

       UP

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

Document Information

Modified date:
28 April 2022