Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9311A115C9 for ; Thu, 3 Jul 2014 05:54:25 +0000 (UTC) Received: (qmail 33854 invoked by uid 500); 3 Jul 2014 05:54:25 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 33743 invoked by uid 500); 3 Jul 2014 05:54:24 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 33509 invoked by uid 99); 3 Jul 2014 05:54:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 05:54:24 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of claus.ibsen@gmail.com designates 209.85.213.169 as permitted sender) Received: from [209.85.213.169] (HELO mail-ig0-f169.google.com) (209.85.213.169) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jul 2014 05:54:23 +0000 Received: by mail-ig0-f169.google.com with SMTP id c1so7262694igq.0 for ; Wed, 02 Jul 2014 22:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=vXyVcWAynX+BDWIt9FtLaPy+BDes9cB3k5WyncAKqRU=; b=r3p1UhW+jdBT3hcE2zK5hhEgrwDjXHcpzQcEjtEvDxrJhWQrqBkTVaoHwIgaDswl4V Q6mwGkruNuwKPfPqVgLvF0TlNgwsWksD5/MHWi1zKaM8SZFUxMwwzmk1lurKMaH/5aQZ syl6CENRPFu6j7r2lYF1EDyhtwGh+lAwaS8/vzqQ5tzkNquAAgLmc0A0qCJ+T3IE9QSS i4yxdEt/SlSdbfyawPBv1yRU91smT7+ifG4l5peGXtlOerxVsj8c1GnF1O83v8dHhP7I muh+E99bCL98H5itlc5e1qJph19CzXm2rW2k/IP1SZavSfi6Zr7W3la/mTrHenw6DStZ NtyA== X-Received: by 10.50.142.99 with SMTP id rv3mr9348043igb.48.1404366838690; Wed, 02 Jul 2014 22:53:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.7.194 with HTTP; Wed, 2 Jul 2014 22:53:38 -0700 (PDT) In-Reply-To: <1404364330988-5753248.post@n5.nabble.com> References: <1404364330988-5753248.post@n5.nabble.com> From: Claus Ibsen Date: Thu, 3 Jul 2014 07:53:38 +0200 Message-ID: Subject: Re: Bug in RabbitMQProducer To: dev Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi Ah yeah only if you have debug logging enabled. Thanks for spotting this. I logged a ticket to get this fixed https://issues.apache.org/jira/browse/CAMEL-7571 On Thu, Jul 3, 2014 at 7:12 AM, md97212 wrote: > for (Map.Entry header : headers.entrySet()) { > > // filter header values. > Object value = getValidRabbitMQHeaderValue(header.getValue()); > if (value != null) { > filteredHeaders.put(header.getKey(), header.getValue()); > } else if (log.isDebugEnabled()) { > log.debug("Ignoring header: {} of class: {} with value: {}", > new Object[]{header.getKey(), > header.getValue().getClass().getName(), header.getValue()}); > } > } > > > A null ptr exception occurs presumably because of this ' > header.getValue().getClass().getName() ' > > > > -- > View this message in context: http://camel.465427.n5.nabble.com/Bug-in-RabbitMQProducer-tp5753248.html > Sent from the Camel Development mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cibsen@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen hawtio: http://hawt.io/ fabric8: http://fabric8.io/