ICEpdf
  1. ICEpdf
  2. PDF-754

Display issues after letting PDF sit idle in Viewer

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.6_P01
    • Fix Version/s: 5.0.7
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All

      Description

      When running the provided PDF file in the ICEpdf viewer app for more than 5 hours, the PDF is rendered as blank. Changing pages will re-render some of the content but not the images included in the PDF. I do see the following NPE thrown in the logs:

      May 07, 2014 1:40:11 PM org.icepdf.core.pobjects.graphics.Shapes paint
      FINE: Error painting shapes.
      java.lang.NullPointerException
      at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.interpretCompositeGlyph(Unknown Source)
      at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.buildPathFromGlyphDefinition(Unknown Source)
      at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.getGlyph(Unknown Source)
      at org.icepdf.core.pobjects.fonts.nfont.NFontTrueType.drawEstring(Unknown Source)
      at org.icepdf.core.pobjects.graphics.TextSprite.paint(TextSprite.java:213)
      at org.icepdf.core.pobjects.graphics.commands.TextSpriteDrawCmd.paintOperand(TextSpriteDrawCmd.java:49)
      at org.icepdf.core.pobjects.graphics.Shapes.paint(Shapes.java:136)
      at org.icepdf.core.pobjects.Page.paintPageContent(Page.java:542)
      at org.icepdf.core.pobjects.Page.paint(Page.java:499)
      at org.icepdf.ri.common.views.PageViewComponentImpl.createBufferedPageImage(PageViewComponentImpl.java:844)
      at org.icepdf.ri.common.views.PageViewComponentImpl.access$400(PageViewComponentImpl.java:74)
      at org.icepdf.ri.common.views.PageViewComponentImpl$PagePainter.run(PageViewComponentImpl.java:993)
      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:744)

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved: