You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Chris Naude (JIRA)" <ji...@apache.org> on 2012/06/23 01:21:42 UTC
[jira] [Updated] (PDFBOX-1347) java.lang.ClassCastException:
org.apache.pdfbox.cos.COSString cannot be cast to
org.apache.pdfbox.cos.COSDictionary
[ https://issues.apache.org/jira/browse/PDFBOX-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Naude updated PDFBOX-1347:
--------------------------------
Affects Version/s: 1.8.0
> java.lang.ClassCastException: org.apache.pdfbox.cos.COSString cannot be cast to org.apache.pdfbox.cos.COSDictionary
> -------------------------------------------------------------------------------------------------------------------
>
> Key: PDFBOX-1347
> URL: https://issues.apache.org/jira/browse/PDFBOX-1347
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.7.0, 1.8.0
> Environment: Windows 7 with Oracle JDK 1.6.0_33
> Reporter: Chris Naude
>
> I'm attempting to merge two pdf's and I am getting this exception. This only occurs for specific PDF files. I am able to merge other PDF's without any issues.
> java.lang.ClassCastException: org.apache.pdfbox.cos.COSString cannot be cast to org.apache.pdfbox.cos.COSDictionary
> at org.apache.pdfbox.pdmodel.interactive.documentnavigation.outline.PDOutlineNode.getFirstChild(PDOutlineNode.java:161)
> at org.apache.pdfbox.util.PDFMergerUtility.appendDocument(PDFMergerUtility.java:339)
> at org.apache.pdfbox.util.PDFMergerUtility.mergeDocuments(PDFMergerUtility.java:188)
> at me.cnaude.pdfboxgui.MainForm$MergeThread.run(MainForm.java:355)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira