Return-Path: Delivered-To: apmail-activemq-camel-dev-archive@locus.apache.org Received: (qmail 13472 invoked from network); 18 Oct 2008 09:39:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Oct 2008 09:39:43 -0000 Received: (qmail 92917 invoked by uid 500); 18 Oct 2008 09:39:44 -0000 Delivered-To: apmail-activemq-camel-dev-archive@activemq.apache.org Received: (qmail 92896 invoked by uid 500); 18 Oct 2008 09:39:44 -0000 Mailing-List: contact camel-dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-dev@activemq.apache.org Received: (qmail 92884 invoked by uid 99); 18 Oct 2008 09:39:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Oct 2008 02:39:44 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Oct 2008 09:38:44 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A7F4E234C233 for ; Sat, 18 Oct 2008 02:38:52 -0700 (PDT) Message-ID: <484873137.1224322732686.JavaMail.jira@brutus> Date: Sat, 18 Oct 2008 02:38:52 -0700 (PDT) From: "Claus Ibsen (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Assigned: (CAMEL-993) NPE in TraceFormatter In-Reply-To: <1854687126.1224229852648.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/CAMEL-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Claus Ibsen reassigned CAMEL-993: --------------------------------- Assignee: Claus Ibsen > NPE in TraceFormatter > --------------------- > > Key: CAMEL-993 > URL: https://issues.apache.org/activemq/browse/CAMEL-993 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 1.5.0 > Reporter: Vadim Chekan > Assignee: Claus Ibsen > Priority: Minor > > This configuration causes NPE: > {code} > from("timer://kickoff_5?period=10000"). > setHeader("a").constant("aa").setBody().constant("a b c a_1 b_1"). > splitter(body().tokenize(" ")). > setHeader("aggreagation_header").body(). > aggregator(header("aggreagation_header")). > to("mock:out"); > {code} > {code} > 2008-10-17 07:47:11,321 [ Polling Thread] DEBUG DefaultAggregationCollection - put exchange:Exchange[Message: null] for key:null > 2008-10-17 07:47:12,237 [ Polling Thread] ERROR Aggregator - > java.lang.NullPointerException > at org.apache.camel.processor.interceptor.TraceFormatter.getBreadCrumbID(TraceFormatter.java:150) > at org.apache.camel.processor.interceptor.TraceFormatter.format(TraceFormatter.java:45) > at org.apache.camel.processor.interceptor.TraceInterceptor.format(TraceInterceptor.java:94) > at org.apache.camel.processor.Logger.logMessage(Logger.java:219) > at org.apache.camel.processor.Logger.process(Logger.java:124) > at org.apache.camel.processor.interceptor.TraceInterceptor.logException(TraceInterceptor.java:119) > at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:87) > at org.apache.camel.processor.BatchProcessor.processExchange(BatchProcessor.java:190) > at org.apache.camel.processor.BatchProcessor.processBatch(BatchProcessor.java:168) > at org.apache.camel.processor.BatchProcessor.run(BatchProcessor.java:68) > at java.lang.Thread.run(Thread.java:619) > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.