diffuse icon indicating copy to clipboard operation
diffuse copied to clipboard

Exception in thread "main" java.util.zip.ZipException: invalid entry compressed size (expected 1276 but got 1272 bytes)

Open THEONE10211024 opened this issue 5 years ago • 7 comments

Exception in thread "main" java.util.zip.ZipException: invalid entry compressed size (expected 1276 but got 1272 bytes) at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:389) at java.util.zip.ZipInputStream.read(ZipInputStream.java:196) at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:140) at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:118) at com.jakewharton.diffuse.ExtensionsKt$entries$1$iterator$1.hasNext(extensions.kt:73) at kotlin.sequences.TransformingSequence$iterator$1.hasNext(Sequences.kt:176) at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:722) at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:752) at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:743) at com.jakewharton.diffuse.io.ZipKt.mapEntries(Zip.kt:70) at com.jakewharton.diffuse.io.ZipKt.toZip(Zip.kt:96) at com.jakewharton.diffuse.io.PathInput.toZip(Input.kt:43) at com.jakewharton.diffuse.Apk$Companion.parse(Apk.kt:28) at com.jakewharton.diffuse.DiffCommand$inputOptions$2.parse(diffuse.kt:76) at com.jakewharton.diffuse.DiffCommand.run(diffuse.kt:135) at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:139) at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:14) at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:215) at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:212) at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:230) at com.jakewharton.diffuse.Diffuse.main(diffuse.kt:41)

THEONE10211024 avatar Aug 13 '20 06:08 THEONE10211024

command: /Users/xiayong/Downloads/diffuse-master/diffuse/build/diffuse diff /Users/xiayong/Downloads/bad1.apk /Users/xiayong/Downloads/good.apk

THEONE10211024 avatar Aug 13 '20 06:08 THEONE10211024

Are you able to share the broken APK? How can I reproduce/test this in order to establish a fix?

JakeWharton avatar Aug 14 '20 13:08 JakeWharton

I send the APK to your email -> [email protected]

THEONE10211024 avatar Aug 17 '20 02:08 THEONE10211024

Thanks! I will take a look this week.

On Sun, Aug 16, 2020, at 10:51 PM, xiayong wrote:

I send the APK to your email -> [email protected]

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JakeWharton/diffuse/issues/77#issuecomment-674628324, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAQIEPQ74A2UWOYO7MEZR3SBCLJ7ANCNFSM4P55DJDA.

JakeWharton avatar Aug 17 '20 14:08 JakeWharton

Also what's the output of java -version?

JakeWharton avatar Sep 02 '20 03:09 JakeWharton

image

THEONE10211024 avatar Sep 02 '20 03:09 THEONE10211024

seems like a bug in the jdk

https://bugs.openjdk.org/browse/JDK-8044727

tho it's marked as resolved i had the same issue, and switching it to use jdk11 didn't solve it either

fabioportieri avatar Feb 02 '23 08:02 fabioportieri