Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5281

JSON RecordSetWriter throws NullPointerException if value is not valid according to the schema's CHOICE type

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • Extensions
    • None

    Description

      If the JSON Record Set Writer is used and a field is defined as a CHOICE field in the schema, but the Record has a value that is not in the given CHOICE, then the RecordSetWriter throws NullPointerException.

      Attachments

        Issue Links

          Activity

            People

              markap14 Mark Payne
              markap14 Mark Payne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: