[
https://issues.apache.org/jira/browse/PDFBOX-3773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Allison resolved PDFBOX-3773.
---------------------------------
Resolution: Won't Fix
After looking at a few documents that trigger this, it looks like they are
malformed...if I understand correctly. I'll leave it up to the client to
follow the existing documentation and catch this exception.
If there was actually JS in the referenced COSObject, I might want to fix this,
but there doesn't appear to be.
> PDAction on document open: can't convert to Destination
> COSArray{[COSObject{12, 0}]}
> ------------------------------------------------------------------------------------
>
> Key: PDFBOX-3773
> URL: https://issues.apache.org/jira/browse/PDFBOX-3773
> Project: PDFBox
> Issue Type: Improvement
> Reporter: Tim Allison
> Priority: Trivial
> Attachments: 745405.pdf
>
>
> On a handful of docs in our regression corpus, over on Tika, we're now
> getting an exception trying to extract the open Action on PDDocumentCatalog.
> This is a new exception (for us) because we weren't extracting these before.
> {noformat}
> java.io.IOException: Error: can't convert to Destination
> COSArray{[COSObject{12, 0}]}
> at
> org.apache.pdfbox.pdmodel.interactive.documentnavigation.destination.PDDestination.create(PDDestination.java:98)
> at org.apache.pdfbox.pdmodel.PDDocumentCatalog.getOpenAction
> (PDDocumentCatalog.java:257)
> at
> org.apache.tika.parser.pdf.AbstractPDF2XHTML.startDocument(AbstractPDF2XHTML.java:460)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]