Claus Ibsen created CAMEL-15628:
-----------------------------------
Summary: camel-core - Safe copy message history may lead to
ArrayIndexOutOfBoundsException
Key: CAMEL-15628
URL: https://issues.apache.org/jira/browse/CAMEL-15628
Project: Camel
Issue Type: Bug
Components: camel-core
Affects Versions: 3.5.0
Reporter: Claus Ibsen
[ thread #10 - seda://dataQueue] SedaConsumer WARN Error
processing exchange. Exchange[]. Caused by:
[java.lang.ArrayIndexOutOfBoundsException - Index 27 out of bounds for length
27]
java.lang.ArrayIndexOutOfBoundsException: Index 27 out of bounds for length 27
at java.util.LinkedList.toArray(LinkedList.java:1057) ~[?:?]
at java.util.LinkedList.addAll(LinkedList.java:412) ~[?:?]
at java.util.LinkedList.addAll(LinkedList.java:391) ~[?:?]
at java.util.LinkedList.<init>(LinkedList.java:123) ~[?:?]
at
org.apache.camel.support.ExchangeHelper.safeCopyProperties(ExchangeHelper.java:932)
~[camel-support-3.6.0-SNAPSHOT.jar:3.6.0-SNAPSHOT]
at
org.apache.camel.support.ExchangeHelper.copyExchangeAndSetCamelContext(ExchangeHelper.java:849)
~[camel-support-3.6.0-SNAPSHOT.jar:3.6.0-SNAPSHOT]
at
org.apache.camel.support.ExchangeHelper.copyExchangeAndSetCamelContext(ExchangeHelper.java:835)
~[camel-support-3.6.0-SNAPSHOT.jar:3.6.0-SNAPSHOT]
at
org.apache.camel.component.seda.SedaConsumer.prepareExchange(SedaConsumer.java:229)
~[camel-seda-3.6.0-SNAPSHOT.jar:3.6.0-SNAPSHOT]
at
org.apache.camel.component.seda.SedaConsumer.doRun(SedaConsumer.java:185)
[camel-seda-3.6.0-SNAPSHOT.jar:3.6.0-SNAPSHOT]
at
org.apache.camel.component.seda.SedaConsumer.run(SedaConsumer.java:130)
[camel-seda-3.6.0-SNAPSHOT.jar:3.6.0-SNAPSHOT]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
[?:?]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
[?:?]
at java.lang.Thread.run(Thread.java:834) [?:?]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)