Handle corrupted GZIP header in cache files
Johni0702 opened this issue ยท 0 comments
https://cdn.discordapp.com/attachments/709108200632483900/858975427632824380/latest.txt
java.util.zip.ZipException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:165) ~[?:1.8.0_51]
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:79) ~[?:1.8.0_51]
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:91) ~[?:1.8.0_51]
at com.replaymod.replaystudio.replay.ZipReplayFile.getCache(ZipReplayFile.java:191) ~[replaymod-1.16.4-2.5.2.jar:?]
at com.replaymod.replaystudio.replay.ZipReplayFile.<init>(ZipReplayFile.java:124) ~[replaymod-1.16.4-2.5.2.jar:?]
at com.replaymod.core.ReplayMod.openReplay(ReplayMod.java:793) ~[replaymod-1.16.4-2.5.2.jar:?]
at com.replaymod.core.ReplayMod.openReplay(ReplayMod.java:785) ~[replaymod-1.16.4-2.5.2.jar:?]
at com.replaymod.replay.gui.screen.GuiReplayViewer$GuiReplayList.lambda$new$3(GuiReplayViewer.java:396) [replaymod-1.16.4-2.5.2.jar:?]
at com.replaymod.replay.gui.screen.GuiReplayViewer$GuiReplayList$$Lambda$3248/1831829645.consume(Unknown Source) [replaymod-1.16.4-2.5.2.jar:?]
at com.replaymod.lib.de.johni0702.minecraft.gui.element.advanced.AbstractGuiResourceLoadingList$1.run(AbstractGuiResourceLoadingList.java:124) [replaymod-1.16.4-2.5.2.jar:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]