[
https://issues.apache.org/jira/browse/NIFI-3403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15861844#comment-15861844
]
ASF subversion and git services commented on NIFI-3403:
-------------------------------------------------------
Commit 2e1b87fa43e8af05ae9f08970b5d78c60e58c1c8 in nifi's branch
refs/heads/master from [~pvillard]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=2e1b87f ]
NIFI-3403 - Fix NPE in InvokeHTTP
Signed-off-by: Mike Moser <[email protected]>
This closes #1494
> NPE in InvokeHTTP
> -----------------
>
> Key: NIFI-3403
> URL: https://issues.apache.org/jira/browse/NIFI-3403
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 0.7.1, 1.1.1
> Reporter: Brandon DeVries
> Assignee: Pierre Villard
> Priority: Minor
> Fix For: 1.2.0
>
>
> 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.15#6346)