[ https://issues.apache.org/jira/browse/CAMEL-20493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17835430#comment-17835430 ]
John Yin commented on CAMEL-20493: ---------------------------------- I am seeing a similar issue in 4.0.3, with a different stacktrace, not sure whether they are related: java.util.ConcurrentModificationException: null at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1486) ~[?:?] at java.util.TreeMap$EntryIterator.next(TreeMap.java:1522) ~[?:?] at java.util.TreeMap$EntryIterator.next(TreeMap.java:1517) ~[?:?] at java.util.TreeMap.buildFromSorted(TreeMap.java:2879) ~[?:?] at java.util.TreeMap.buildFromSorted(TreeMap.java:2871) ~[?:?] at java.util.TreeMap.buildFromSorted(TreeMap.java:2871) ~[?:?] at java.util.TreeMap.buildFromSorted(TreeMap.java:2828) ~[?:?] at java.util.TreeMap.putAll(TreeMap.java:319) ~[?:?] at org.apache.camel.support.MessageSupport.copyFromWithNewBody(MessageSupport.java:231) ~[camel-support-4.0.3.jar:4.0.3] at org.apache.camel.support.MessageSupport.copyFrom(MessageSupport.java:193) ~[camel-support-4.0.3.jar:4.0.3] at org.apache.camel.support.ExchangeHelper.doCopyResults(ExchangeHelper.java:351) ~[camel-support-4.0.3.jar:4.0.3] at org.apache.camel.support.ExchangeHelper.copyResults(ExchangeHelper.java:331) ~[camel-support-4.0.3.jar:4.0.3] at org.apache.camel.component.seda.SedaConsumer.doRun(SedaConsumer.java:188) [camel-seda-4.0.3.jar:4.0.3] at org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:129) [camel-seda-4.0.3.jar:4.0.3] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?] at java.lang.Thread.run(Thread.java:840) [?:?] > camel-core: concurrency issue copying headers > --------------------------------------------- > > Key: CAMEL-20493 > URL: https://issues.apache.org/jira/browse/CAMEL-20493 > Project: Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 4.4.0, 4.5.0 > Reporter: Otavio Rodolfo Piske > Assignee: Otavio Rodolfo Piske > Priority: Major > Fix For: 4.x > > Attachments: concurrency-issue.txt > > > It looks like under some rare circumstances the copy of message headers can > suffer from concurrency issues. > Please look at the attached log, extracted from an execution of the test > JmsProducerConcurrentWithReplyTest. -- This message was sent by Atlassian Jira (v8.20.10#820010)