[ https://issues.apache.org/jira/browse/JCRVLT-257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16315405#comment-16315405 ]
Dirk Rudolph edited comment on JCRVLT-257 at 1/7/18 6:04 PM: ------------------------------------------------------------- See the attached zip file, exported with 3.1.42, and what {{unzip}} says about it: {code} Dirks-MacBook-Pro:test dirk.rudolph$ unzip -t distributionpackage.zip Archive: distributionpackage.zip testing: META-INF/MANIFEST.MF OK testing: META-INF/ OK testing: META-INF/vault/ OK testing: META-INF/vault/properties.xml OK testing: META-INF/vault/config.xml OK testing: META-INF/vault/filter.xml OK testing: jcr_root/.content.xml OK testing: jcr_root/content/ OK testing: jcr_root/content/.content.xml OK testing: jcr_root/content/dam/ OK testing: jcr_root/content/dam/.content.xml OK testing: jcr_root/content/dam/DSC_0106.jpg/ OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/ OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/ OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.48.48.png error: invalid compressed data to inflate testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.48.48.png.dir/ OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.48.48.png.dir/.content.xml OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.140.100.png error: invalid compressed data to inflate testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.140.100.png.dir/ OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.140.100.png.dir/.content.xml OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg error: invalid compressed data to inflate testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg.dir/ OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg.dir/.content.xml OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/original bad CRC 7aef5aa6 (should be 0ebac2d8) testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/original.dir/ OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/original.dir/.content.xml OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png error: invalid compressed data to inflate testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png.dir/ OK testing: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png.dir/.content.xml OK testing: jcr_root/content/dam/DSC_0106.jpg/.content.xml OK testing: META-INF/vault/nodetypes.cnd OK At least one error was detected in distributionpackage.zip. {code} was (Author: diru): See the attached zip file, exported with 3.1.42, and what {{unzip}} says about it: {code} Dirks-MacBook-Pro:test dirk.rudolph$ unzip distributionpackage.zip Archive: distributionpackage.zip inflating: META-INF/MANIFEST.MF creating: META-INF/vault/ inflating: META-INF/vault/properties.xml inflating: META-INF/vault/config.xml inflating: META-INF/vault/filter.xml inflating: jcr_root/.content.xml creating: jcr_root/content/ inflating: jcr_root/content/.content.xml creating: jcr_root/content/dam/ inflating: jcr_root/content/dam/.content.xml creating: jcr_root/content/dam/DSC_0106.jpg/ creating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/ creating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/ inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.48.48.png error: invalid compressed data to inflate creating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.48.48.png.dir/ inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.48.48.png.dir/.content.xml inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.140.100.png error: invalid compressed data to inflate creating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.140.100.png.dir/ inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.140.100.png.dir/.content.xml inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg error: invalid compressed data to inflate creating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg.dir/ inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.web.1280.1280.jpeg.dir/.content.xml inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/original bad CRC 7aef5aa6 (should be 0ebac2d8) creating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/original.dir/ inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/original.dir/.content.xml inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png error: invalid compressed data to inflate creating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png.dir/ inflating: jcr_root/content/dam/DSC_0106.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png.dir/.content.xml inflating: jcr_root/content/dam/DSC_0106.jpg/.content.xml inflating: META-INF/vault/nodetypes.cnd {code} > ZipException: invalid code lengths set > -------------------------------------- > > Key: JCRVLT-257 > URL: https://issues.apache.org/jira/browse/JCRVLT-257 > Project: Jackrabbit FileVault > Issue Type: Bug > Components: Packaging > Affects Versions: 3.1.42 > Reporter: Dirk Rudolph > Priority: Critical > Attachments: distributionpackage.zip > > > I'm running into the following exception: > {code} > ... > 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 > {code} > 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 JCRVLT-163. -- This message was sent by Atlassian JIRA (v6.4.14#64029)