android-backup-extractor icon indicating copy to clipboard operation
android-backup-extractor copied to clipboard

Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid code lengths set

Open quickishfm opened this issue 4 years ago • 2 comments

I get this error:

0% 1% 2% Exception in thread "main" java.lang.RuntimeException: java.util.zip.ZipException: invalid code lengths set
	at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:233)
	at org.nick.abe.Main.main(Main.java:40)
Caused by: java.util.zip.ZipException: invalid code lengths set
	at java.base/java.util.zip.InflaterInputStream.read(InflaterInputStream.java:165)
	at java.base/java.io.FilterInputStream.read(FilterInputStream.java:107)
	at org.nick.abe.AndroidBackup.extractAsTar(AndroidBackup.java:205)
	... 1 more

when trying to uncompress an ab to a tar. There is no encryption. Is there a way to fix this at present?

Thank you.

quickishfm avatar Dec 04 '20 21:12 quickishfm

I have the same error, using: openjdk 11.0.11 2021-04-20 OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

HighOnVoltage avatar Oct 08 '21 15:10 HighOnVoltage

Would help to have a backup sample.

superbonaci avatar May 21 '22 01:05 superbonaci