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

InvokeScriptedProcessor can issue a NullPointerException in customValidate

    XMLWordPrintableJSON

Details

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

    Description

      NIFI-4968 improved the behavior of InvokeScriptedProcessor when the script has an error during parsing/interpretation/compilation, and an improvement was made to not output the same validation errors over and over again until manual action was taken. As part of that improvement though, a bug was introduced where a NullPointerException can occur.

      Proposed fix is not to set the validation results to null on "clear", but rather to an empty Set (which the code is expecting)

      Attachments

        Issue Links

          Activity

            People

              mattyb149 Matt Burgess
              mattyb149 Matt Burgess
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: