You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Johannes Koch (JIRA)" <ji...@apache.org> on 2010/01/07 14:02:54 UTC
[jira] Created: (PDFBOX-593) ClassCastException in
PDAppearanceDictionary
ClassCastException in PDAppearanceDictionary
--------------------------------------------
Key: PDFBOX-593
URL: https://issues.apache.org/jira/browse/PDFBOX-593
Project: PDFBox
Issue Type: Bug
Components: PDModel
Reporter: Johannes Koch
org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary: In both getRolloverAppearance() and getDownAppearance() the COSDictionary ap is added to itself, so causing a ClassCastException in the following while loop when it is casted to COSStream. I'll post a patch for this based on the getNormalAppearance() method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-593) ClassCastException in
PDAppearanceDictionary
Posted by "Johannes Koch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Johannes Koch updated PDFBOX-593:
---------------------------------
Attachment: PDFBOX-593_patch_00.txt
Attached patch PDFBOX-593_patch_00.txt solves the issue.
> ClassCastException in PDAppearanceDictionary
> --------------------------------------------
>
> Key: PDFBOX-593
> URL: https://issues.apache.org/jira/browse/PDFBOX-593
> Project: PDFBox
> Issue Type: Bug
> Components: PDModel
> Reporter: Johannes Koch
> Attachments: PDFBOX-593_patch_00.txt
>
>
> org.apache.pdfbox.pdmodel.interactive.annotation.PDAppearanceDictionary: In both getRolloverAppearance() and getDownAppearance() the COSDictionary ap is added to itself, so causing a ClassCastException in the following while loop when it is casted to COSStream. I'll post a patch for this based on the getNormalAppearance() method.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.