Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: PDModel
    • Labels:
      None

      Description

      When I try to overlay to files I got the following exception

      java.io.IOException: COSStream has been closed and cannot be read. Perhaps its enclosing PDDocument has been closed?
      	at org.apache.pdfbox.cos.COSStream.checkClosed(COSStream.java:78)
      	at org.apache.pdfbox.cos.COSStream.createRawInputStream(COSStream.java:126)
      	at org.apache.pdfbox.pdfwriter.COSWriter.visitFromStream(COSWriter.java:1177)
      	at org.apache.pdfbox.cos.COSStream.accept(COSStream.java:372)
      	at org.apache.pdfbox.cos.COSObject.accept(COSObject.java:158)
      	at org.apache.pdfbox.pdfwriter.COSWriter.doWriteObject(COSWriter.java:561)
      	at org.apache.pdfbox.pdfwriter.COSWriter.doWriteBody(COSWriter.java:478)
      	at org.apache.pdfbox.pdfwriter.COSWriter.visitFromDocument(COSWriter.java:1073)
      	at org.apache.pdfbox.cos.COSDocument.accept(COSDocument.java:419)
      	at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1331)
      	at org.apache.pdfbox.pdfwriter.COSWriter.write(COSWriter.java:1229)
      	at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:1102)
      	at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:1074)
      	at org.apache.pdfbox.pdmodel.PDDocument.save(PDDocument.java:1062)
      	at org.apache.pdfbox.tools.OverlayPDF.main(OverlayPDF.java:143)
      

        Attachments

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              lehmi Andreas Lehmkühler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: