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

QueryRecord can throw NPE if Record Writer does not provide schema

    XMLWordPrintableJSON

Details

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

    Description

      When QueryRecord attempts to create the RecordSetResultSet, if the configured Record Writer does not provide a schema, a NullPointerException is thrown. While this does not affect the existing Record Writers, it can affect scripted or custom Record Writers.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h