java.util.ConcurrentModificationException messages on JBoss EAP 7 log file

Solution Verified - Updated -

Issue

The same piece of code is working Weblogic without any error, but after migrating to JBoss EAP 7.1.4 we are facing this error. We are seeing this exception:

    06:48:23,216 ERROR [stderr] (default task-22) java.util.ConcurrentModificationException
    06:48:23,253 ERROR [stderr] (default task-22)   at java.base/java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1042)
    06:48:23,269 ERROR [stderr] (default task-22)   at java.base/java.util.ArrayList$Itr.next(ArrayList.java:996)
    06:48:23,286 ERROR [stderr] (default task-22)   at deployment.example.war.example.war//com.example.class1(class2.java:123)

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content