IBM Support

PH30128: ECLIPSELINK INTERMITTENT CONCURRENTMODIFICATIONEXCEPTION

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

  • EclipseLink throws an intermittent
    ConcurrentModificationException for some @OneToMany
    relationships
    
    Exception:
        Caused by: java.util.ConcurrentModificationException
         at
    java.util.IdentityHashMap$IdentityHashMapIterator.nextIndex(Iden
    tityHashMap.java:734)
         at
    java.util.IdentityHashMap$KeyIterator.next(IdentityHashMap.java:
    825)
         at
    org.eclipse.persistence.internal.sessions.CollectionChangeRecord
    .mergeRecord(CollectionChangeRecord.java:261)
         at
    org.eclipse.persistence.internal.sessions.ObjectChangeSet.mergeO
    bjectChanges(ObjectChangeSet.java:773)
        Caused by: java.util.ConcurrentModificationException
         at
    java.util.IdentityHashMap$IdentityHashMapIterator.nextIndex(Iden
    tityHashMap.java:734)
         at
    java.util.IdentityHashMap$KeyIterator.next(IdentityHashMap.java:
    825)
         at
    org.eclipse.persistence.internal.sessions.CollectionChangeRecord
    .mergeRecord(CollectionChangeRecord.java:261)
         at
    org.eclipse.persistence.internal.sessions.ObjectChangeSet.mergeO
    bjectChanges(ObjectChangeSet.java:773)
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  All users of IBM WebSphere Application      *
    *                  Server - Java Persistence API - JPA         *
    *                  2.1 & EclipseLink                           *
    ****************************************************************
    * PROBLEM DESCRIPTION: EclipseLink throws an intermittent      *
    *                      ConcurrentModificationException for     *
    *                      some @OneToMany relationships.          *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Exception stack:
    ´´´
    Caused by: java.util.ConcurrentModificationException
    at
    java.util.IdentityHashMap$IdentityHashMapIterator.nextIndex(Iden
    tityHashMap.java:746)
    at
    java.util.IdentityHashMap$KeyIterator.next(IdentityHashMap.java:
    837)
    at
    org.eclipse.persistence.internal.sessions.CollectionChangeRecord
    .mergeRecord(CollectionChangeRecord.java:261)
    at
    org.eclipse.persistence.internal.sessions.ObjectChangeSet.mergeO
    bjectChanges(ObjectChangeSet.java:773)
    at
    org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet.me
    rgeObjectChanges(UnitOfWorkChangeSet.java:492)
    at
    org.eclipse.persistence.internal.sessions.UnitOfWorkChangeSet.me
    rgeUnitOfWorkChangeSet(UnitOfWorkChangeSet.java:509)
    at
    org.eclipse.persistence.internal.sessions.RepeatableWriteUnitOfW
    ork.writeChanges(RepeatableWriteUnitOfWork.java:469)
    at
    org.eclipse.persistence.internal.jpa.EntityManagerImpl.flush(Ent
    ityManagerImpl.java:878)
    ´´´
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PH30128

  • 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

    2020-10-06

  • Closed date

    2020-11-17

  • Last modified date

    2020-11-17

  • 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

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

Document Information

Modified date:
02 November 2021