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

Missing data if document is merged with itself

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0.7
    • Fix Version/s: None
    • Component/s: AcroForm, Utilities
    • Labels:
      None

      Description

      When using PDFMergerUtility to merge the attached PDF twice into one document there may be data missing.
      To be more specific: In this case the data on page 1 looks fine, but page 28 is empty. My expectation is that page 28 is identical to page 1 (the document has 27 pages).

      Of course that's not a common use case. But I can reproduce this behaviour with other documents which are not identical, but similar.

      I think this might be related to PDFBOX-3111 and PDFBOX-3218.

      What is the trigger for this and is there a workaround?

        Attachments

        1. merge-test.pdf
          1.58 MB
          Haiko Strotbek
        2. merge-test-merged.pdf
          3.30 MB
          Tilman Hausherr
        3. MergeTest.java
          2 kB
          Haiko Strotbek

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hstrotbek Haiko Strotbek
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: