aybe,
> somehow, notify people of this potential problem with HttpComponent 4.2.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Http4-component-throws-useless-NPE-if-request-body-is-String-instead-of-InputStream-tp5717268p5717449.html
> Sent from the
View this message in context:
http://camel.465427.n5.nabble.com/Http4-component-throws-useless-NPE-if-request-body-is-String-instead-of-InputStream-tp5717268p5717449.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
ssage in context:
http://camel.465427.n5.nabble.com/Http4-component-throws-useless-NPE-if-request-body-is-String-instead-of-InputStream-tp5717268p5717307.html
Sent from the Camel - Users mailing list archive at Nabble.com.
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
s,
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.
Assert.assertTrue(response.isFailed());
> Throwable exception = response.getException();
> System.out.println("Exception: " + exception.getLocalizedMessage() +
> "\nCause: " + exception.getCause());
> }
> }
>
>
>
>
> --
>
in context:
http://camel.465427.n5.nabble.com/Http4-component-throws-useless-NPE-if-request-body-is-String-instead-of-InputStream-tp5717268.html
Sent from the Camel - Users mailing list archive at Nabble.com.