[
https://issues.apache.org/jira/browse/CAMEL-21051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-21051:
-----------------------------------
Assignee: Claus Ibsen
> SftpOperations.retrieveFileToStreamInBody potentially hides exceptions
> ----------------------------------------------------------------------
>
> Key: CAMEL-21051
> URL: https://issues.apache.org/jira/browse/CAMEL-21051
> Project: Camel
> Issue Type: Bug
> Components: camel-sftp
> Affects Versions: 4.5.0, 4.7.0
> Environment: Occurs on Windows and linux
> Reporter: Manuel Hartl
> Assignee: Claus Ibsen
> Priority: Minor
>
> The Method
> org.apache.camel.component.file.remote.SftpOperations#retrieveFileToStreamInBody
> executed operations in finally-block which potentially hides exceptions from
> try-block.
> In my case i have an out of memory exception happening during reading the
> sftp-data, but i dont see it because
> {color:#000000}{color:#0066cc}changeCurrentDirectory() in the finally block
> throws another exception.{color}{color}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)