You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joseph Witt (JIRA)" <ji...@apache.org> on 2019/04/01 16:49:00 UTC

[jira] [Updated] (NIFI-6127) AttributeExpressionLanguage - 'match' and 'find' throw NPE when comparison object is a non existing flowfile attribute

     [ https://issues.apache.org/jira/browse/NIFI-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joseph Witt updated NIFI-6127:
------------------------------
    Fix Version/s: 1.9.2

> AttributeExpressionLanguage - 'match' and 'find' throw NPE when comparison object is a non existing flowfile attribute
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-6127
>                 URL: https://issues.apache.org/jira/browse/NIFI-6127
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Steven Youtsey
>            Assignee: Matt Burgess
>            Priority: Major
>             Fix For: 1.10.0, 1.9.2
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> MatchesEvaluator, line 56 - When the flow file attributes do not contain the attribute specified in the comparison portion of a 'matches' operation, the Pattern.compile(null) throws an NPE.
> Since there is no guarantee that a specified flow file attribute is present, this should simply return BooleanQueryResult(false) if the desired attribute does not exist.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)