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 8A530DC1D for ; Tue, 14 Aug 2012 08:48:22 +0000 (UTC) Received: (qmail 72372 invoked by uid 500); 14 Aug 2012 08:48:22 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 72099 invoked by uid 500); 14 Aug 2012 08:48:20 -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 Delivered-To: moderator for users@camel.apache.org Received: (qmail 59683 invoked by uid 99); 14 Aug 2012 08:46:46 -0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mcbennettp@dnb.com designates 216.139.236.26 as permitted sender) Date: Tue, 14 Aug 2012 01:46:18 -0700 (PDT) From: pmcb55 To: users@camel.apache.org Message-ID: <1344933978465-5717303.post@n5.nabble.com> In-Reply-To: References: <1344887276080-5717268.post@n5.nabble.com> Subject: Re: Http4 component throws useless NPE if request body is String (instead of InputStream) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Claus - we're using the latest version 2.10.0. Simply running the JUnit test I provided should illustrate the problem - the 'System.out.println()' displays 'null' for both the exception description, and the exception cause - not particularly helpful, obviously! Cheers, Pat. -- View this message in context: http://camel.465427.n5.nabble.com/Http4-component-throws-useless-NPE-if-request-body-is-String-instead-of-InputStream-tp5717268p5717303.html Sent from the Camel - Users mailing list archive at Nabble.com.