Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3795

PDFMergeUtility error invalid stored block lengths

    XMLWordPrintableJSON

Details

    Description

      PDFMergeUtility fails with a DataFormatException when trying to merge PDF documents.

      Caused by: java.util.zip.DataFormatException: invalid stored block lengths

      I have attached 3 PDF documents

      • pdf-01.pdf
      • pdf-02.pdf
      • pdf-03.pdf

      The first two PDF documents are good. They can be merged. In fact they were used to create the third document (pdf-03.pdf).

      When trying to merge another PDF with the third document, the PDF merge utility throws the error.

      Attachments

        1. pdf-03.pdf
          499 kB
          Julian Cowan
        2. pdf-02.pdf
          331 kB
          Julian Cowan
        3. pdf-01.pdf
          253 kB
          Julian Cowan

        Activity

          People

            tilman Tilman Hausherr
            julian.cowan@ipaustralia.gov.au Julian Cowan
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: