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

ASF subversion and git services commented on PDFBOX-2773:
---------------------------------------------------------

Commit 1675778 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1675778 ]

PDFBOX-2773: deref to avoid ClassCastException

> ClassCastException in PDDocumentCatalog.java:339
> ------------------------------------------------
>
>                 Key: PDFBOX-2773
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2773
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Vadimo
>
> this issue is similar to PDFBOX-2687. I was calling 
> document.getDocumentCatalog().getOutputIntents();
> and got a 
> {code}
> java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast 
> to org.apache.pdfbox.cos.COSDictionary
> {code}
> Here is the file where the error occurs the output intent was set with pdfbox 
> 1.8.6/7/8 not sure.
> https://www.dropbox.com/s/9fpytrdggzehv7s/20120312-Example.pdf?dl=0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to