Can you share how you send and receive  to compare?  It works for me on
2.17.0.

Den 31 okt. 2016 3:14 em skrev "Marvin [via Camel]" <
ml-node+s465427n5789519...@n5.nabble.com>:

> 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
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://camel.465427.n5.nabble.com/camel-2-18-0-VM-problem-
> after-update-tp5789519.html
> To start a new topic under Camel - Users, email
> ml-node+s465427n465428...@n5.nabble.com
> To unsubscribe from Camel - Users, click here
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=465428&code=c291Y2lhbmNlLmVxZGFtLnJhc2h0aUBnbWFpbC5jb218NDY1NDI4fDE1MzI5MTE2NTY=>
> .
> NAML
> <http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>




--
View this message in context: 
http://camel.465427.n5.nabble.com/camel-2-18-0-VM-problem-after-update-tp5789519p5789525.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to