ICEpdf
  1. ICEpdf
  2. PDF-493

ClassCastException thrown when loading a PDF generated by ABBYY FineReader 11

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.2, 4.3.3, 4.3.4
    • Fix Version/s: 5.0.0 alpha1, 5.0
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description


      The following error stack trace is thrown when loading a PDF created by ABBYY FineReader 11:

      java.lang.ClassCastException: java.util.Hashtable cannot be cast to org.icepdf.core.pobjects.fonts.Font
      at org.icepdf.core.pobjects.Resources.getFont(Resources.java:218)
      at org.icepdf.core.util.ContentParser.consume_Tf(ContentParser.java:2114)
      at org.icepdf.core.util.ContentParser.parse(ContentParser.java:258)
      at org.icepdf.core.pobjects.Page.init(Page.java:372)
      at org.icepdf.core.views.swing.PageViewComponentImpl$PageInitilizer.run(PageViewComponentImpl.java:1072)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: