#42 Casting exceptions in PDF module

None
closed
Gary McGath
None
5
2013-03-04
2012-11-18
Gary McGath
No

The attached file was created with Adobe Acrobat Pro, and it opens in Acrobat Reader and OS X Preview. JHOVE 1.8 reports the file as not well-formed, with the messages "Unexpected error in findFonts" and "Invalid annotation list." Both errors result from ClassCastException where the module is expecting one kind of PDF object but gets another. This is a running theme in problems with the PDF module.

The content is taken from the massfilc.org website. I'm the webmaster for that site, so I don't think we have any copyright problems.

Discussion

  • Gary McGath
    Gary McGath
    2012-11-18

    PDF made with Acrobat Pro from website

     
    Attachments
  • Gary McGath
    Gary McGath
    2012-11-18

    • assigned_to: nobody --> garymcgath
     
  • Gary McGath
    Gary McGath
    2012-12-30

    Still an issue in 1.9.

     
  • Gary McGath
    Gary McGath
    2013-03-04

    • status: open --> closed
    • milestone: -->
     
  • Gary McGath
    Gary McGath
    2013-03-04

    This is the same bug as #32, though the PDF is created a different way. After the fix for #32, this file now gets "Expected dictionary for font entry in page resource." This makes me further wonder if I'm missing something in the spec that allows non-dictionaries for fonts.