ICEpdf
  1. ICEpdf
  2. PDF-939

NullPointerException - Error parsing text block

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.0_P01
    • Fix Version/s: 6.0.1
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      All

      Description

      The following error is thrown when rendering the provided PDF file:

      FINEST: Error parsing text block
      java.lang.NullPointerException
      at org.icepdf.core.util.content.AbstractContentParser.consume_Tf(AbstractContentParser.java:811)
      at org.icepdf.core.util.content.NContentParser.parseText(Unknown Source)
      at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
      at org.icepdf.core.pobjects.Form.init(Form.java:178)
      at org.icepdf.core.util.content.AbstractContentParser.consume_Do(AbstractContentParser.java:554)
      at org.icepdf.core.util.content.NContentParser.parse(Unknown Source)
      at org.icepdf.core.pobjects.Page.init(Page.java:384)
      at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1167)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      at java.lang.Thread.run(Thread.java:745)

      This is preventing the text from being displayed on the PDF.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46206 Tue Nov 10 10:38:17 MST 2015 patrick.corless PDF-939 fixed issue where we don't correctly process a direct referenced font dictionary.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Resources.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #46205 Tue Nov 10 10:38:07 MST 2015 patrick.corless PDF-939 fixed issue where we don't correctly process a direct referenced font dictionary.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/Resources.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: