Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4460

XStreamDataFormat has NPE when marshalling route to XML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.2, 2.9.0
    • camel-core
    • None
    • Unknown

    Description

      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

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: