Hi I cannot reproduce this on trunk. Works fine for me. I get a response from google, eg their html response page.
Are you behind some http proxy or whatnot? Where did you spot the cause exception? Maybe you can dig the stracktrace etc. On Tue, Aug 14, 2012 at 10:46 AM, pmcb55 <mcbenne...@dnb.com> wrote: > 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. -- Claus Ibsen ----------------- FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen