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

Claus Ibsen commented on CAMEL-16574:
-------------------------------------

Can you work on a PR to fix this (main branch) ?

> camel-salesforce - NPE On Response Callback - DefaultCompositeApiClient 
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-16574
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16574
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-salesforce
>    Affects Versions: 3.7.0, 3.7.4, 3.7.3, 3.9.0
>            Reporter: Jawad Ahmad
>            Priority: Major
>             Fix For: 3.10.0
>
>
> doHttpRequest(request, new ClientResponseCallback() {
>             @Override
>             public void onResponse(InputStream response, Map<String, String> 
> headers, SalesforceException ex) {
>                 callback.onResponse(Optional.of(response), headers, ex);
>             }
>         });
>   callback.onResponse(Optional.of(response), headers, ex); Throws NPE when 
> response stream is null. This happens when there is Socket Timeout error.



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

Reply via email to