Hi Willem: Welcome back.
And I'll re-try after the fix. Thanks. 2013/8/7 Willem jiang <willem.ji...@gmail.com> > It's a bug of Camel. > I can reproduce the error in the camel trunk and will dig it later today. > > > -- > Willem Jiang > > Red Hat, Inc. > FuseSource is now part of Red Hat > Web: http://www.fusesource.com | http://www.redhat.com > Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) > (English) > http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) > Twitter: willemjiang > Weibo: 姜宁willem > > > > > > On Wednesday, August 7, 2013 at 9:48 AM, liugang594 Liu wrote: > > > Hi All: > > > > > > When I'm tring to execute below route: > > > > from("timer:foo").wireTap("direct:a").id("wiretap_1").to("log:a"); > > from("direct:a").to("log:b"); > > > > I always got IndexOutOfBoundsException: > > > > 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) > > I tried on 2.11.1, 2.11.2-SNAPSHOT, both of them have the same problem > (not > > sure 2.12-SNAPSHOT). > > > > I created a bug for it https://issues.apache.org/jira/browse/CAMEL-6610 > > -- > > Thanks > > GangLiu > > Mail: clevers...@gmail.com (mailto:clevers...@gmail.com) > > > > -- Thanks GangLiu Mail: clevers...@gmail.com