Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.7.0, 3.7.4, 3.7.3, 3.9.0
-
None
-
Unknown
Description
doHttpRequest(request, new ClientResponseCallback() {
@Override
public void onResponse(InputStream response, Map<String, String> headers, SalesforceException ex)
});
callback.onResponse(Optional.of(response), headers, ex); Throws NPE when response stream is null. This happens when there is Socket Timeout error.