Hi Maybe this bug fixes this https://issues.apache.org/jira/browse/CAMEL-10406
You can build latest code and test with a SNAPSHOT version http://camel.apache.org/building On Mon, Oct 31, 2016 at 3:14 PM, Marvin <mgeit...@novomind.com> wrote: > I updated my camel version from 2.15.2 to 2.18.0. I'm using the vm component > to send messages through different contexts. > > After the update I got following exception: > > o.a.c.c.v.VmConsumer | Error processing exchange. Exchange[]. Caused by: > [java.lang.NullPointerException - null] > java.lang.NullPointerException: null > at > org.apache.camel.util.ExchangeHelper.isStreamCachingEnabled(ExchangeHelper.java:657) > at > org.apache.camel.converter.stream.OutputStreamBuilder.<init>(OutputStreamBuilder.java:38) > at > org.apache.camel.converter.stream.OutputStreamBuilder.withExchange(OutputStreamBuilder.java:55) > at > org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.java:58) > at > org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:77) > > I've found out that the problem the corresponding context to which the > exchange is set to is. It's using the route id of my vm enpoint and trying > to get the route out of the original context of the exchange. But it cannot > find the route because it isn't defined in the original context of the > exchange. > > With the version 2.15.2 it's working fine. > > Does anyone have an idea how I can fix this? > > Thanks > > Marvin > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/camel-2-18-0-VM-problem-after-update-tp5789519.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2