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

Warning "You did not close a PDF Document" when visual signature is added

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.11
    • Fix Version/s: None
    • Component/s: PDModel, Signing
    • Labels:

      Description

      When visual signature is added, warning "You did not close a PDF Document" is added to the output log. It appears, that VisualSignatureParser creates an instance of COSDocument and later is held by SignatureOptions, but for this instance the #close() method is never called, which results to that warning reported by its #finalize() method.
      Probably it should by closed by PDDocument when used after signing.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                abyss Petras
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: