java.io.IOException: Corrupt GZIP trailer

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via stackoverflow.com by Unknown author

When you iterate over the lines of a scala.io.Source with source.getLines, make sure you do not close the source until you processed the iterator.

Solutions on the web

via Coderanch by Romeo Ranjan, 1 year ago
via processing.org by Unknown author, 1 year ago
via com.br by Unknown author, 1 year ago
via Stack Overflow by Ace
, 2 years ago
via Oracle Community by 843810, 1 year ago
via Oracle Community by 843841, 1 year ago
java.io.IOException: Corrupt GZIP trailer
at java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:175)
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:89)
at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411)
at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183)
at java.io.InputStreamReader.read(InputStreamReader.java:167)
at java.io.BufferedReader.fill(BufferedReader.java:136)
at java.io.BufferedReader.readLine(BufferedReader.java:299)
at java.io.BufferedReader.readLine(BufferedReader.java:362)
at nci.cgf.annotator.process.FileCompresser.generateFiles(FileCompresser.java:33)
at nci.cgf.annotator.process.FileCompresser.main(FileCompresser.java:109)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 months ago
Once, 4 months ago
16 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.