IBM Support

PH12669: NULLPOINTEREXCEPTION OCCURS IN EMF DO TO CONCURRENT INITIALIZATION

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

  • 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



Document information

More support for: WebSphere Application Server
General

Software version: 850

Reference #: PH12669

Modified date: 08 July 2019