[
https://issues.apache.org/jira/browse/NIFI-3951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019794#comment-16019794
]
ASF subversion and git services commented on NIFI-3951:
-------------------------------------------------------
Commit 1a3c525dd68d7ad5403a23aaabda131edbf489fa in nifi's branch
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=1a3c525 ]
NIFI-3951: Fixed bug that calculated the index incorrectly when filtering for
ArrayIndexPath
This closes #1835.
Signed-off-by: Bryan Bende <[email protected]>
> RecordPath throws ArrayIndexOutOfBoundsException if referencing element 0 of
> an empty array
> -------------------------------------------------------------------------------------------
>
> Key: NIFI-3951
> URL: https://issues.apache.org/jira/browse/NIFI-3951
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Reporter: Mark Payne
> Assignee: Mark Payne
> Fix For: 1.3.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)