You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Mueller (JIRA)" <ji...@apache.org> on 2014/01/21 16:05:19 UTC
[jira] [Updated] (COMPRESS-256) 7z: 16 MB dictionary is too big
[ https://issues.apache.org/jira/browse/COMPRESS-256?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Mueller updated COMPRESS-256:
------------------------------------
Attachment: dictTooBig.7z
> 7z: 16 MB dictionary is too big
> -------------------------------
>
> Key: COMPRESS-256
> URL: https://issues.apache.org/jira/browse/COMPRESS-256
> Project: Commons Compress
> Issue Type: Bug
> Components: Archivers
> Affects Versions: 1.6, 1.7
> Reporter: Stefan Mueller
> Priority: Minor
> Labels: 7zip
> Attachments: dictTooBig.7z
>
>
> I created an archiv with 7zip 9.20 containing the compress-1.7-src directory. Also tried it with 1.6 version and directory. I
> downloaded the zip file and reziped it as 7z. The standard setting where used:
> Compression level: normal
> Compression method: lzma2
> Dictionary size: 16 MB
> Word size: 32
> Solid Block size: 2 GB
> I get an exception if I try to open the file with the simple line of code:
> SevenZFile input = new SevenZFile(new File(arcName));
> Maybe it is a bug in the tukaani library, but I do not know how to report it to them.
> The exception thrown:
> org.tukaani.xz.UnsupportedOptionsException: LZMA dictionary is too big for this implementation
> at org.tukaani.xz.LZMAInputStream.initialize(Unknown Source)
> at org.tukaani.xz.LZMAInputStream.<init>(Unknown Source)
> at org.apache.commons.compress.archivers.sevenz.Coders$LZMADecoder.decode(Coders.java:117)
> at org.apache.commons.compress.archivers.sevenz.Coders.addDecoder(Coders.java:48)
> at org.apache.commons.compress.archivers.sevenz.SevenZFile.readEncodedHeader(SevenZFile.java:278)
> at org.apache.commons.compress.archivers.sevenz.SevenZFile.readHeaders(SevenZFile.java:190)
> at org.apache.commons.compress.archivers.sevenz.SevenZFile.<init>(SevenZFile.java:94)
> at org.apache.commons.compress.archivers.sevenz.SevenZFile.<init>(SevenZFile.java:116)
> at compress.SevenZipError.main(SevenZipError.java:28)
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)