bytecode-viewer icon indicating copy to clipboard operation
bytecode-viewer copied to clipboard

java.util.zip.ZipException: invalid entry CRC

Open yanite opened this issue 7 months ago • 1 comments

java.util.zip.ZipException: invalid entry CRC (expected 0x91088349 but got 0xecbd5347) at java.base/java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:410) at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:199) at java.base/java.io.FilterInputStream.read(FilterInputStream.java:107) at the.bytecode.club.bytecodeviewer.util.MiscUtils.getBytes(MiscUtils.java:342) at the.bytecode.club.bytecodeviewer.util.JarUtils.loadResources(JarUtils.java:216) at the.bytecode.club.bytecodeviewer.resources.importing.impl.APKResourceImporter.open(APKResourceImporter.java:59) at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.importKnownFile(ImportResource.java:87) at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.run(ImportResource.java:59) at java.base/java.lang.Thread.run(Thread.java:829) java.io.IOException: Push back buffer is full at java.base/java.io.PushbackInputStream.unread(PushbackInputStream.java:229) at java.base/java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:361) at java.base/java.util.zip.ZipInputStream.read(ZipInputStream.java:199) at java.base/java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:143) at the.bytecode.club.bytecodeviewer.util.JarUtils.loadResources(JarUtils.java:223) at the.bytecode.club.bytecodeviewer.resources.importing.impl.APKResourceImporter.open(APKResourceImporter.java:59) at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.importKnownFile(ImportResource.java:87) at the.bytecode.club.bytecodeviewer.resources.importing.ImportResource.run(ImportResource.java:59) at java.base/java.lang.Thread.run(Thread.java:829)

yanite avatar Jun 26 '25 14:06 yanite

Hi, if you hold appropriate legal rights to the file that causes this exception, could you please send it to [email protected] so I can investigate this?

My initial guess is the ZIP may be corrupt, if it's a valid ZIP we'll need a similar file so we can work on adding support - thank you!

Konloch avatar Jun 27 '25 20:06 Konloch