Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
tYrannoSaurusRex_1
Contributor III
Contributor III

Unexpected end of ZLIB input stream in tFileUnarchive

Hi,
I am getting following error in my job.
Exception in component tFileUnarchive_1
java.io.EOFException: Unexpected end of ZLIB input stream
    at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:240)
    at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:158)
    at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:116)
This job downloads file from FTP which are compressed in .tar.gz format. Extracts data, loads data. It is done for multiple files at once.
Issue is, whole process runs properly from start to end. Generates output as required. But after job ends, it gives following error.
Can someone help me??
Labels (3)
6 Replies
Anonymous
Not applicable

This is unarchiving exception... For which file you are facing this issue.. it may be that respective file is currupt... Try removing that file and execute the job for rest of the files... Also try unarchiving using some other tool.. Some times the tool may not work properly for unzipping process.
Vaibhav
tYrannoSaurusRex_1
Contributor III
Contributor III
Author

The files I'm unzipping are proper. No issues with them.
Other tools as in, which tools are you referring to?
Anonymous
Not applicable

- Windows tool
- 7z utility
-  etc
tYrannoSaurusRex_1
Contributor III
Contributor III
Author

ok, but I want to automate the file extraction process along with ETL process. The tFileUnarchive I use is part of whole process, tFTPExist ==> tFTPGet ==> tFileUnarchive and so on. So how do we integrate 7z and Windows tool with the whole process?
Anonymous
Not applicable

If you want to invoke 7z in talend, then you can do it using tSystem component and execute commands for unarchiving. 7z as well as other tools support this feature..
Vaibhav
tYrannoSaurusRex_1
Contributor III
Contributor III
Author

I am running the job on server and I can't install 7z there.
Any other suggestions?
Since Talend is giving error, it means I am missing out something in my whole setup....