mirror of https://github.com/apache/nifi.git
NIFI-3192 Adding a check if the FlowFile is null to UpdateAttribute
This closes #1325
This commit is contained in:
parent
868795cdaa
commit
266bd80bde
|
@ -393,6 +393,9 @@ public class UpdateAttribute extends AbstractProcessor implements Searchable {
|
|||
final Criteria criteria = criteriaCache.get();
|
||||
|
||||
FlowFile flowFile = session.get();
|
||||
if (flowFile == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
final Map<PropertyDescriptor, String> properties = context.getProperties();
|
||||
|
||||
|
|
Loading…
Reference in New Issue