nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-1332) GetHttp throws exception when no content returned
Date Fri, 18 Mar 2016 03:05:33 GMT

    [ https://issues.apache.org/jira/browse/NIFI-1332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15200919#comment-15200919
] 

ASF GitHub Bot commented on NIFI-1332:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/nifi/pull/259


> GetHttp throws exception when no content returned
> -------------------------------------------------
>
>                 Key: NIFI-1332
>                 URL: https://issues.apache.org/jira/browse/NIFI-1332
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Matt Burgess
>            Assignee: Pierre Villard
>             Fix For: 0.6.0
>
>
> If a URL is specified in GetHttp and it returns an HTTP status code of 204 (No content),
a Null Pointer exception is thrown when trying to get the entity/content:
> java.lang.NullPointerException: null
> 	at org.apache.nifi.processors.standard.GetHTTP.onTrigger(GetHTTP.java:478) ~[na:na]
> 	at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1146)
~[nifi-framework-core-0.4.1-SNAPSHOT.jar:0.4.1-SNAPSHOT]
> 	at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:139)
[nifi-framework-core-0.4.1-SNAPSHOT.jar:0.4.1-SNAPSHOT]
> 	at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:49)
[nifi-framework-core-0.4.1-SNAPSHOT.jar:0.4.1-SNAPSHOT]
> 	at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:119)
[nifi-framework-core-0.4.1-SNAPSHOT.jar:0.4.1-SNAPSHOT]
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_65]
> 	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_65]
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
[na:1.8.0_65]
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
[na:1.8.0_65]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_65]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_65]
> 	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_65]
> I used http://httpstat.us/204 to reproduce this error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message