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
The fix for this APAR changes the EclipseLink implementation and involves an update to the thirdparty source. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=463350 This fix is currently targeted for WebSphere Application Server 9.0.5.7 and WebSphere Liberty 20.0.0.12. 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
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