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

RecordPath throws ArrayIndexOutOfBoundsException if referencing element 0 of an empty array

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment