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

simple without embedded text results in an NPE

    XMLWordPrintableJSON

Details

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

    Description

      After switching to 2.9

      the following results in a NPE

      <camel:setBody>
      	<camel:simple></camel:simple>
      </camel:setBody>
      

      I'm not sure if it is now required to have something in the content of the simple element.
      I used it for setting the body element to an empty string before (worked with 2.8.1)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: