You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Yang Lin (JIRA)" <ji...@apache.org> on 2018/10/13 04:03:00 UTC

[jira] [Created] (COMMONSRDF-79) Could not unzip the file properly

Yang Lin created COMMONSRDF-79:
----------------------------------

             Summary: Could not unzip the file properly
                 Key: COMMONSRDF-79
                 URL: https://issues.apache.org/jira/browse/COMMONSRDF-79
             Project: Apache Commons RDF
          Issue Type: Bug
          Components: api
    Affects Versions: 0.5.0
         Environment: Window 7
            Reporter: Yang Lin
             Fix For: 0.6.0
         Attachments: HS_H08_20180927_0600_B02_FLDK_R10_S0110.DAT.bz2

When I use WinRAR unzip one file, I can get the result file properly which size is about 24,200,000 bytes. But I use commons-compress unzip this file, can only get 900,000 bytes(Operation process: sourceFile -> byte[] -> InputStream). In another way to unzip this file using commons-compress, sourceFile -> InputStream, throw Exception: java.io.IOException: Stream is not in the BZip2 format, at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.init(BZip2CompressorInputStream.java:261).
Thank you in advance!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)