Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.6_P01
-
Fix Version/s: 5.0.7
-
Component/s: Core/Parsing
-
Labels:None
-
Environment:All
-
Support Case References:Support Case #12809 - https://icesoft.my.salesforce.com/5007000000c2vf0
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)
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)
Hi
Do you have any update or ETA?
Thank you