Jawad Ahmad created CAMEL-16574:
-----------------------------------
Summary: NPE On Rrsponse Callback - DefaultCompositeApiClient
Key: CAMEL-16574
URL: https://issues.apache.org/jira/browse/CAMEL-16574
Project: Camel
Issue Type: Bug
Affects Versions: 3.9.0, 3.7.3, 3.7.4, 3.7.0
Reporter: Jawad Ahmad
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)