You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/04/23 08:39:15 UTC
[jira] [Updated] (PDFBOX-2038) Method VisualSignatureParser#parse
does not close COSDocument
[ https://issues.apache.org/jira/browse/PDFBOX-2038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-2038:
------------------------------------
Affects Version/s: 2.0.0
1.8.5
> Method VisualSignatureParser#parse does not close COSDocument
> -------------------------------------------------------------
>
> Key: PDFBOX-2038
> URL: https://issues.apache.org/jira/browse/PDFBOX-2038
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.8.4, 1.8.5, 2.0.0
> Reporter: Andrei Solntsev
> Priority: Minor
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> I am adding a visual signature to my PDF.
> SignatureOptions options = new SignatureOptions();
> options.setVisualSignature( new FileInputStream("my.jpg") );
> After a while I am getting the following warning in logs:
> Warning: COSDocument: You did not close a PDF Document
> The problem cause is probably the method org.apache.pdfbox.pdfparser.VisualSignatureParser#parse which creates instance of COSDocument, but does not close it.
--
This message was sent by Atlassian JIRA
(v6.2#6252)