commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valerij Bancer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-228) ZipException on reading valid zip64 file
Date Fri, 24 May 2013 23:10:20 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Valerij Bancer updated COMPRESS-228:
------------------------------------

    Description: 
ZipFile zip = new ZipFile(new File(<path-to-zip-file>)); throws ZipException "central
directory zip64 extended information extra field's length doesn't match central directory
data.  Expected length 16 but is 28".

The archive was created with DotNetZip-WinFormsTool uzing zip64 flag (forces always to make
zip64 archives).

Zip file is tested from the console: $zip -T ordertest-64.zip

Output:
test of ordertest-64.zip OK

I can open the archive with FileRoller without problem on my machine, browse and extract it.


  was:
ZipFile zip = new ZipFile(new File(<path-to-zip-file>)); throws ZipException "central
directory zip64 extended information extra field's length doesn't match central directory
data.  Expected length 16 but is 28".

The archive was created with DotNetZip-WinFormsTool uzing zip64 flag (forces always to make
zip64 archives).

Zip file is tested from the console: $zip -T ordertest-64.zip

Output:
test of ordertest-64.zip OK

I can open the archive with FileRoller without problem on my machine, browse and extract it.

I don't see how to attach the file here.

    
> ZipException on reading valid zip64 file
> ----------------------------------------
>
>                 Key: COMPRESS-228
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-228
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.5
>         Environment: java.runtime.name=OpenJDK Runtime Environment
> java.home=/usr/lib/jvm/java-6-openjdk-amd64/jre
> java.runtime.version=1.6.0_27-b27
> commons-compress-1.5
>            Reporter: Valerij Bancer
>              Labels: zip, zip64
>         Attachments: ordertest-64.zip
>
>
> ZipFile zip = new ZipFile(new File(<path-to-zip-file>)); throws ZipException "central
directory zip64 extended information extra field's length doesn't match central directory
data.  Expected length 16 but is 28".
> The archive was created with DotNetZip-WinFormsTool uzing zip64 flag (forces always to
make zip64 archives).
> Zip file is tested from the console: $zip -T ordertest-64.zip
> Output:
> test of ordertest-64.zip OK
> I can open the archive with FileRoller without problem on my machine, browse and extract
it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message