Steven Youtsey created NIFI-6127:
------------------------------------

             Summary: AttributeExpressionLanguage - 'match' throws 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
    Affects Versions: 1.8.0
            Reporter: Steven Youtsey


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)

Reply via email to