commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trejkaz (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-197) Tar file for Android backup cannot be read
Date Thu, 02 Aug 2012 02:24:02 GMT

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

Trejkaz updated COMPRESS-197:
-----------------------------

    Attachment: android-backup.tar
    
> Tar file for Android backup cannot be read
> ------------------------------------------
>
>                 Key: COMPRESS-197
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-197
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Archivers
>    Affects Versions: 1.4.1
>            Reporter: Trejkaz
>              Labels: tar
>         Attachments: android-backup.tar
>
>
> Attached tar file was generated by some kind of backup tool on Android. Normal tar utilities
seem to handle it fine, but Commons Compress doesn't.
> {noformat}
> java.lang.IllegalArgumentException: Invalid byte 0 at offset 5 in '01750{NUL}{NUL}{NUL}'
len=8
>     at org.apache.commons.compress.archivers.tar.TarUtils.parseOctal(TarUtils.java:99)
>     at org.apache.commons.compress.archivers.tar.TarArchiveEntry.parseTarHeader(TarArchiveEntry.java:788)
>     at org.apache.commons.compress.archivers.tar.TarArchiveEntry.<init>(TarArchiveEntry.java:308)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message