Stefan Mueller created COMPRESS-256:
---------------------------------------
Summary: 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.7, 1.6
Reporter: Stefan Mueller
Priority: Minor
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)