You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/04/24 07:28:38 UTC
[jira] [Commented] (PDFBOX-2773) ClassCastException in
PDDocumentCatalog.java:339
[ 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org