You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Dicken George (JIRA)" <ji...@apache.org> on 2017/08/14 09:55:00 UTC
[jira] [Updated] (CAMEL-11668) CompositeApiClient cannot close null
Stream
[ https://issues.apache.org/jira/browse/CAMEL-11668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dicken George updated CAMEL-11668:
----------------------------------
Summary: CompositeApiClient cannot close null Stream (was: CompositeApiClient )
> CompositeApiClient cannot close null Stream
> -------------------------------------------
>
> 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
> Labels: easyfix
> Fix For: 2.19.3
>
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> 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)