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 hsqldb by timhot
, 1 year ago
via GitHub by shenfeng
, 2 years ago
via GitHub by shenfeng
, 2 years ago
Corrupt GZIP trailer
via Stack Overflow by Paul Richter
, 2 years ago
java.io.IOException: Corrupt GZIP trailer
at java.util.zip.GZIPInputStream.readTrailer(GZIPInputStream.java:182)
at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:94)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:264)
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:306)
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:158)
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 org.hsqldb.scriptio.ScriptReaderText.readLoggedStatement(ScriptReaderText.java:186)
at org.hsqldb.scriptio.ScriptReaderDecode.readLoggedStatement(ScriptReaderDecode.java:91)
at org.hsqldb.scriptio.ScriptReaderText.readExistingData(ScriptReaderText.java:146)
at org.hsqldb.scriptio.ScriptReaderBase.readAll(ScriptReaderBase.java:66)
at org.hsqldb.persist.Log.processScript(Log.java:786)
at org.hsqldb.persist.Log.open(Log.java:223)
at org.hsqldb.persist.Logger.openPersistence(Logger.java:233)
at org.hsqldb.Database.reopen(Database.java:265)
at org.hsqldb.Database.open(Database.java:237)
at org.hsqldb.DatabaseManager.getDatabase(DatabaseManager.java:225)
at org.hsqldb.DatabaseManager.getDatabase(DatabaseManager.java:177)
at org.hsqldb.server.Server.openDatabases(Server.java:1798)
at org.hsqldb.server.Server.run(Server.java:2131)
at org.hsqldb.server.Server.access$000(Server.java:243)

Users with the same issue

You are the first who have seen this exception.

Write tip

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