Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-593

ClassCastException in PDAppearanceDictionary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0
    • PDModel
    • None

    Description

      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.

      Attachments

        1. PDFBOX-593_patch_00.txt
          2 kB
          Johannes Koch

        Activity

          People

            lehmi Andreas Lehmkühler
            waldbaer Johannes Koch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: