Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE3D410239 for ; Wed, 7 Aug 2013 05:27:28 +0000 (UTC) Received: (qmail 70885 invoked by uid 500); 7 Aug 2013 05:27:28 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 70859 invoked by uid 500); 7 Aug 2013 05:27:27 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 70838 invoked by uid 99); 7 Aug 2013 05:27:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 05:27:25 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clevers594@gmail.com designates 74.125.82.182 as permitted sender) Received: from [74.125.82.182] (HELO mail-we0-f182.google.com) (74.125.82.182) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Aug 2013 05:27:21 +0000 Received: by mail-we0-f182.google.com with SMTP id u55so1143688wes.27 for ; Tue, 06 Aug 2013 22:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=y38eJnPfori9ui6I71gAaUMQ+OaC/YtVlsDcKHvqmDA=; b=qVIdtB8RszeC4jT0TqgQMlsOrKY+Me+AsOFAFQwZyRXPmJngdYK1jLdNI3WhWZolc9 VVKlBsEGmfY+Gl8Ru6tZE8ZhUr0ueTFLOMrVw2kB+M6t4jAiWkWnUa81WqzrMLhDEr5b H9w9OwId6ItdtwLiiHQdLq0xI5LXOP9oNZuqee+v5S7nz2no+Zu4GJMh8F3OkpT374MK jkETNTTpQtZXWKD4uVk5/67IHE8nU8hACqwbiSiPm0e/oOPoBwMrKJA9zEhuZmy/XLXn uSl9bf02yCuDpjIeY1afFZuiofGAtRrUuDnS+uW52aaD2YHz+F/A9AxgHbykkaHLCl1i PKwA== MIME-Version: 1.0 X-Received: by 10.194.109.164 with SMTP id ht4mr1010672wjb.35.1375853220306; Tue, 06 Aug 2013 22:27:00 -0700 (PDT) Received: by 10.194.95.228 with HTTP; Tue, 6 Aug 2013 22:27:00 -0700 (PDT) In-Reply-To: <6CB2B99A36B149499DB78AAF2FABFAC3@gmail.com> References: <6CB2B99A36B149499DB78AAF2FABFAC3@gmail.com> Date: Wed, 7 Aug 2013 13:27:00 +0800 Message-ID: Subject: Re: Always got IndexOutOfBoundsException when customized id of wireTap component From: liugang594 Liu To: users Content-Type: multipart/alternative; boundary=089e0102f16275a48504e354ca7e X-Virus-Checked: Checked by ClamAV on apache.org --089e0102f16275a48504e354ca7e Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi Willem: Welcome back. And I'll re-try after the fix. Thanks. 2013/8/7 Willem jiang > 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: =BD=AA=C4=FEwillem > > > > > > 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:2= 76) > > at > > > org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilde= r.java:262) > > at > > > org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.j= ava: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: clevers594@gmail.com (mailto:clevers594@gmail.com) > > > > --=20 Thanks GangLiu Mail: clevers594@gmail.com --089e0102f16275a48504e354ca7e--