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

CompositeApiClient class in the camel-salesforces component cannot close a null InputStream

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.19.3
    • Fix Version/s: 2.20.0
    • Component/s: camel-salesforce
    • Labels:
    • Environment:

      Windows 10, Eclipse Oxygen IDE with Java J2SE

    • Patch Info:
      Patch Available
    • Estimated Complexity:
      Novice
    • Flags:
      Patch

      Description

      In the class DefaultCompositeApiClient.java the method
      <T> Optional<T> tryToReadResponse(final Class<T> expectedType, final InputStream responseStream)
      cannot handle a null InputStream.

        Attachments

          Activity

            People

            • Assignee:
              zregvart Zoran Regvart
              Reporter:
              dickengeorge Dicken George
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified