My Oracle Support Banner

UIM: Getting java.util.ConcurrentModificationException When Traversing Through the List of Service Configuration Items (Doc ID 1593605.1)

Last updated on APRIL 03, 2023

Applies to:

Oracle Communications Unified Inventory Management - Version 7.2.0 and later
Information in this document applies to any platform.

Symptoms

While iterating through the list of Configuration Item in the custom WS code following error is thrown, if at the same time another user tries to add more configuration item to the same configuration:

java.util.ConcurrentModificationException
  at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372)
  at java.util.AbstractList$Itr.next(AbstractList.java:343)
  at org.eclipse.persistence.indirection.IndirectList$1.next(IndirectList.java:562)
  at oracle.communications.platform.persistence.impl.PomsArrayList$PomsArrayListIterator.next(PomsArrayList.java:703)
 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
 To Avoid ConcurrentModificationException in multi-threaded environment:
 To Avoid ConcurrentModificationException in single-threaded environment:


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.