java.lang.RuntimeException: java.io.EOFException

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

Solutions on the web

java.lang.RuntimeException: java.io.EOFException
at java.util.zip.GZIPInputStream.readUByte(GZIPInputStream.java:207)
at java.util.zip.GZIPInputStream.readUShort(GZIPInputStream.java:197)
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:136)
at java.util.zip.GZIPInputStream.(GZIPInputStream.java:58)
at java.util.zip.GZIPInputStream.(GZIPInputStream.java:68)
at com.gargoylesoftware.htmlunit.WebResponseData.getStream(WebResponseData.java:99)
at com.gargoylesoftware.htmlunit.WebResponseData.getInputStream(WebResponseData.java:127)
at com.gargoylesoftware.htmlunit.WebResponseData.getInputStream(WebResponseData.java:130)
at com.gargoylesoftware.htmlunit.WebResponse.getContentAsStream(WebResponse.java:231)
at com.gargoylesoftware.htmlunit.WebResponse.getContentCharsetOrNull(WebResponse.java:150)
at com.gargoylesoftware.htmlunit.WebResponse.getContentCharset(WebResponse.java:167)
at undefined.CompressedButEmptyResponseTest.test(CompressedButEmptyResponseTest.java:38)

Users with the same issue

Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
2 times, 5 months ago
2 more bugmates

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