How to read new copied .xls file from SFTP origin & Avoid Exception:EmptyFileException

asked 2019-07-24 05:10:39 -0500

dharma gravatar image

We are trying to read .xls or .xlsx file from SFTP origin, when new file coming on our server(source folder) we are getting EXCEPTION :
Pipeline Status: RUNNING_ERROR: org.apache.poi.EmptyFileException: The supplied file was empty (zero bytes long)

If same file available on source path, and if after that we are running pipeline then working correctly.

edit retag flag offensive close merge delete