ConcurrentModificationException in DefaultCamelContext.removeRouteDefinitions() -------------------------------------------------------------------------------
Key: CAMEL-3493 URL: https://issues.apache.org/jira/browse/CAMEL-3493 Project: Camel Issue Type: Bug Affects Versions: 2.5.0 Reporter: Jim Newsham I get the following exception in DefaultCamelContext.removeRouteDefinitions(). We are removing route definitions from multiple threads. I see synchronization in various other methods, but not this one. Caused by: java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:372) at java.util.AbstractList$Itr.next(AbstractList.java:343) at java.util.AbstractCollection.removeAll(AbstractCollection.java:336) at org.apache.camel.impl.DefaultCamelContext.removeRouteDefinitions(DefaultCamelContext.java:588) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.