Details
Description
I'm running into the following exception:
... Caused by: java.util.zip.ZipException: invalid code lengths set at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164) at java.util.zip.ZipInputStream.read(ZipInputStream.java:194) at org.apache.jackrabbit.vault.fs.io.ZipStreamArchive.copyToBuffer(ZipStreamArchive.java:228) at org.apache.jackrabbit.vault.fs.io.ZipStreamArchive.copy(ZipStreamArchive.java:215) at org.apache.jackrabbit.vault.fs.io.ZipStreamArchive.open(ZipStreamArchive.java:159) at org.apache.sling.distribution.serialization.impl.vlt.FileVaultContentSerializer.importFromStream(FileVaultContentSerializer.java:130) ... 112 common frames omitted
running Apache Sling Content Distribution on an AEM instance. It looks like the Zipfile exported by JarExporter is broken in certain cases - though I didn't find a unit test for that so far.
Anyway I'm quite sure that its caused by JCRVLT-163.
To workaround the compression of the entire file can to be set to NO_COMPRESSION.
Attachments
Attachments
Issue Links
- is related to
-
SLING-7362 Allow to configure the SCD default compression level
- Resolved
- relates to
-
JCRVLT-258 Default compression level incorrectly set to NO_COMPRESSION (0)
- Closed
-
JCRVLT-163 Avoid compressing incompressible binaries
- Closed
- links to