ICEpdf
  1. ICEpdf
  2. PDF-964

NullPointerException at Annotation.init

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.0.2_P01, 6.1
    • Component/s: Core/Rendering
    • Labels:
      None
    • Environment:
      ICEpdf Pro 6

      Description

      When rendering the provided PDF in ICEpdf 6.0.2 the following NPE is thrown and prevents the content from rendering. This isn't an issue with the 5.1.2 release.

      WARNING: Error initiating page: 0
      java.lang.NullPointerException
      at org.icepdf.core.pobjects.annotations.Annotation.init(Annotation.java:743)
      at org.icepdf.core.pobjects.annotations.MarkupAnnotation.init(MarkupAnnotation.java:172)
      at org.icepdf.core.pobjects.annotations.TextAnnotation.init(TextAnnotation.java:123)
      at org.icepdf.core.pobjects.Page.initPageAnnotations(Page.java:299)
      at org.icepdf.core.pobjects.Page.init(Page.java:341)
      at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1169)
      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)

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47065 Wed Feb 03 07:52:02 MST 2016 patrick.corless PDF-964 fixed issue where annotation with missing /rect entry was causing page rendering failure.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #47000 Thu Jan 21 08:04:50 MST 2016 patrick.corless PDF-964 fixe issue where annotation with missing /rect entry was causing page rendering failure.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Commit graph MODIFY /icepdf/branches/icepdf-6.0.0_P01/icepdf/core/src/org/icepdf/core/pobjects/annotations/Annotation.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: