[
https://issues.apache.org/jira/browse/NIFI-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Burgess updated NIFI-6127:
-------------------------------
Affects Version/s: (was: 1.8.0)
Status: Patch Available (was: In Progress)
> 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
> Time Spent: 10m
> 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)