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

ArchiveStreamFactory throws "No Archiver found for the stream signature" on 7z files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7
    • 1.8
    • Archivers
    • None

    Description

      Apache Tika makes use of ArchiveStreamFactory to handle a wide range of archive formats (Zip, AR, CPIO, Tar etc)

      We've just upgraded to Commons Compress 1.7, and tried to make use of the new 7z support to add in 7z handling too. However, when you try to call:

      ArchiveStreamFactory factory = new ArchiveStreamFactory();
      ArchiveInputStream ais = factory.createArchiveInputStream(stream);

      With a 7z file it fails with:

      new ArchiveException("No Archiver found for the stream signature");

      Attachments

        Activity

          People

            Unassigned Unassigned
            nick Nick Burch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: