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

RecordPath throws ArrayIndexOutOfBoundsException if referencing element 0 of an empty array

    XMLWordPrintableJSON

Details

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

    Description

      If we have a RecordPath like /enrichment/geo/subdivisions[0]/name and the subdivisions field is a 0-element array, RecordPath should get an empty value but instead throws ArrayIndexOutOfBoundsException.

      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: