Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16574

camel-salesforce - NPE On Response Callback - DefaultCompositeApiClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.7.0, 3.7.4, 3.7.3, 3.9.0
    • 3.7.5, 3.10.0
    • camel-salesforce
    • 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); }

      });

      callback.onResponse(Optional.of(response), headers, ex); Throws NPE when response stream is null. This happens when there is Socket Timeout error.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jawwad124 Jawad Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: