[ https://issues.apache.org/jira/browse/CAMEL-3493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-3493. -------------------------------- Resolution: Fixed Fix Version/s: 2.6.0 Assignee: Claus Ibsen trunk: 1055309 > 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 > Assignee: Claus Ibsen > Fix For: 2.6.0 > > > 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.