You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Brandon DeVries (JIRA)" <ji...@apache.org> on 2017/01/26 14:24:24 UTC
[jira] [Created] (NIFI-3403) NPE in InvokeHTTP
Brandon DeVries created NIFI-3403:
-------------------------------------
Summary: NPE in InvokeHTTP
Key: NIFI-3403
URL: https://issues.apache.org/jira/browse/NIFI-3403
Project: Apache NiFi
Issue Type: Bug
Reporter: Brandon DeVries
Priority: Minor
InvokeHTTP throws an NPE when running in "source" mode if given a value for "Attributes to Send". If this value is set, it attempts to do\[1\]...
{code}
requestFlowFile.getAttributes(){code}
...without checking if requestFlowFile == null (which will be the case when running in "source" mode).
\[1\] https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/InvokeHTTP.java#L859
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)