Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15628

camel-core - Safe copy message history may lead to ArrayIndexOutOfBoundsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.6.0
    • camel-core
    • None
    • Unknown

    Description

      [ 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) [?:?]

      Attachments

        Issue Links

          Activity

            People

              davsclaus Claus Ibsen
              davsclaus Claus Ibsen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: