Dicken George created CAMEL-11668:
-------------------------------------

             Summary: CompositeApiClient 
                 Key: CAMEL-11668
                 URL: https://issues.apache.org/jira/browse/CAMEL-11668
             Project: Camel
          Issue Type: Bug
          Components: camel-salesforce
    Affects Versions: 2.19.3
         Environment: Windows 10, Eclipse Oxygen IDE with Java J2SE
            Reporter: Dicken George
            Priority: Blocker
             Fix For: 2.19.3


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

This can be resolved by checking if the responseStream is not null before 
closing the Stream. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to