求教 java 大佬,这是什么报错?下载报错还是解压报错?和 java 版本或者解压软件有没有关系?
fetch data error: java.io.EOFException: Unexpected end of ZLIB input stream java.io.UncheckedIOException: java.io.EOFException: Unexpected end of ZLIB input stream at utils.BufferedReader$1.hasNext(BufferedReader.java:502) at utils.Iterators2.lambda$buffer$0(Iterators2.java:29) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executo rs.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoo lExecutor.java:1130) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPo olExecutor.java:630) at java.base/java.lang.Thread.run(Thread.java:831) Caused by: java.io.EOFException: Unexpected end of ZLIB input stream at java.base/java.util.zip.InflaterInputStream.fill(InflaterInputStream. java:244) at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream. java:158) at java.base/java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117 ) at utils.ASCIIReader.read(ASCIIReader.java:98) at utils.BufferedReader.fill(BufferedReader.java:131) at utils.BufferedReader.readLine(BufferedReader.java:276) at utils.BufferedReader$1.hasNext(BufferedReader.java:499) ... 6 more java.lang.RuntimeException: fetch data error
1
fourstone OP 有时候不会报错,有时候会报错。
下载高峰期会报错,下载平常期就不会报错 是服务端的问题吗??? |
2
OnlyO 2022-08-14 11:29:15 +08:00
不把代码贴出来看看?帮你搜了下 close()方法调用了吗
|
3
fourstone OP |
4
fourstone OP |
5
MarkP 2022-08-14 12:24:49 +08:00
并发问题,多个线程操作一个文件
|