Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-480

Unexpected record signature when using ZipArchiveInputStream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 1.18
    • None
    • Archivers

    Description

      I'm trying to use ZipArchiveInputStream for reading a Firefox APK. I cannot use ZipFile (although the example below could) and I'm aware of the limitations.

      The file makes use of "stored entries with data descriptor".

      This code example triggers an exception:

      ZipArchiveInputStream zis = new ZipArchiveInputStream(new FileInputStream(apk), "UTF-8", false, true);
      while (zis.getNextZipEntry() != null);
      

      This is the exception reported: Unexpected record signature: 0X4374756F

      Could it possibly be fixed or is this ZIP file impossible to read using ZipArchiveInputStream?

      Attachments

        Activity

          People

            Unassigned Unassigned
            LubosD Luboš Doležel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: