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

ASF subversion and git services commented on HTTPCLIENT-2126:
-------------------------------------------------------------

Commit c9489606d5ae6ff3af6eac9f407260b3e1f4dca0 in httpcomponents-client's 
branch refs/heads/master from Oleg Kalnichevski
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-client.git;h=c948960 ]

HTTPCLIENT-2126: `AsyncCachingExec` throws NPE when response body is null


> AsyncCachingExec throws NPE when response body is null
> ------------------------------------------------------
>
>                 Key: HTTPCLIENT-2126
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2126
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient (async)
>    Affects Versions: 5.0.3
>            Reporter: koji lin
>            Priority: Minor
>             Fix For: 5.0.4
>
>
> [https://github.com/apache/httpcomponents-client/blob/master/httpclient5-cache/src/main/java/org/apache/hc/client5/http/impl/cache/AsyncCachingExec.java#L160]
>  
> This makes client's returned future/callback 
> susccess(AsyncExecCallback#handleResponse triggers this?) but 
> AsyncResponseConsumer/AsyncExecCallback failed.
>  
> Curious if it should avoid exception here.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to