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.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