[
https://issues.apache.org/jira/browse/CAMEL-4460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-4460.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.8.2
> XStreamDataFormat has NPE when marshalling route to XML
> -------------------------------------------------------
>
> Key: CAMEL-4460
> URL: https://issues.apache.org/jira/browse/CAMEL-4460
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.8.2, 2.9.0
>
>
> You can get a NPE when marshalling a route to XML which has <xstream> in the
> route
> Caused by: java.lang.NullPointerException
> at
> org.apache.camel.model.dataformat.XStreamDataFormat$ConvertersAdapter.marshal(XStreamDataFormat.java:170)
> at
> org.apache.camel.model.dataformat.XStreamDataFormat$ConvertersAdapter.marshal(XStreamDataFormat.java:165)
> at
> com.sun.xml.internal.bind.v2.runtime.reflect.AdaptedAccessor.get(AdaptedAccessor.java:61)
> ... 55 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira