Can anyone explain this?

enter image description here

有帮助吗?

解决方案

when you close the GZip stream, it's closes the underlying file stream, the exception is thrown because you already closed the file stream. you don't need to close both of them, just close the gzip stream

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top