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 2021/08/31 16:10:00 UTC

[jira] [Commented] (PDFBOX-5273) Why does PDDocument.getSignatureFields throw an IO Exception?

    [ https://issues.apache.org/jira/browse/PDFBOX-5273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17407501#comment-17407501 ] 

Tilman Hausherr commented on PDFBOX-5273:
-----------------------------------------

You're right, and this is fixed in the trunk, but we can't fix it in 2.0 because it would break existing applications.

> Why does PDDocument.getSignatureFields throw an IO Exception?
> -------------------------------------------------------------
>
>                 Key: PDFBOX-5273
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5273
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>            Reporter: Alex slonim
>            Priority: Minor
>
> There doesn't seem to be a way this function can can throw an exception.  .getDocumentCatalog never returns null, and there's a null check if the document catalog doesn't have an acroForm. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org