Probably the stacktrace will not help: the npe is thrown on the line where i
use the object returned from getBody(Some.class);
The problem ist that no exception is thrown by getBody(Some.class) but null
is returned. So there must be a path that returns null.
--
View this message in context:
Hi
Can you paste the stacktrace where you get the NPE ?
On Fri, Nov 28, 2014 at 10:31 AM, dermoritz tantea...@hotmail.com wrote:
Some day ago i switched to camel 2.14 (mainly because of RoutePolicyFactory -
a great idea!). But i also noticed on creating new routes with new
processors/
Some day ago i switched to camel 2.14 (mainly because of RoutePolicyFactory -
a great idea!). But i also noticed on creating new routes with new
processors/ aggregators i see many NullPointerExceptions in lines that use
object from exchange.getIn().getBody(Some.class).
In those cases the body was