You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/08/08 02:51:47 UTC
[jira] [Resolved] (CAMEL-6610) Always got IndexOutOfBoundsException
when customized id of wireTap component
[ https://issues.apache.org/jira/browse/CAMEL-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-6610.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.12.0
2.11.2
2.10.7
Applied the patch into master, camel-2.11.x and camel-2.10.x.
> Always got IndexOutOfBoundsException when customized id of wireTap component
> ----------------------------------------------------------------------------
>
> Key: CAMEL-6610
> URL: https://issues.apache.org/jira/browse/CAMEL-6610
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.11.1, 2.11.2
> Reporter: liugang
> Assignee: Willem Jiang
> Fix For: 2.10.7, 2.11.2, 2.12.0
>
>
> when I'm tring to execute below route:
> {code}
> from("timer:foo").wireTap("direct:a").id("wiretap_1").to("log:a");
> from("direct:a").to("log:b");
> {code}
> I always got IndexOutOfBoundsException:
> {color:red}
> Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: -1
> at java.util.Collections$EmptyList.get(Collections.java:3212)
> at org.apache.camel.model.ProcessorDefinition.id(ProcessorDefinition.java:1025)
> at org.talend.esb.liugang.camel.wiretap.TestWiretap$1.configure(TestWiretap.java:14)
> at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:322)
> at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:276)
> at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:262)
> at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:650)
> at org.talend.esb.liugang.camel.wiretap.TestWiretap.main(TestWiretap.java:10)
> {color}
> I tried on 2.11.1, 2.11.2-SNAPSHOT, both of them have the same problem (not sure 2.12-SNAPSHOT).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira