You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dirk Rudolph (JIRA)" <ji...@apache.org> on 2018/01/07 17:58:00 UTC

[jira] [Created] (JCRVLT-257) ZipException: invalid code lengths set

Dirk Rudolph created JCRVLT-257:
-----------------------------------

             Summary: 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


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)