ICEpdf
  1. ICEpdf
  2. PDF-878

NullPointerException at Page.init thrown when rendering PDF

    Details

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

      Description

      When rendering a provided PDF file, the following NPE is shown in the logs:

      Apr 21, 2015 7:29:01 AM org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer run
      WARNING: Error initiating page: 1
      java.lang.NullPointerException
      at org.icepdf.core.pobjects.Page.init(Page.java:355)
      at org.icepdf.ri.common.views.PageViewComponentImpl$PageInitializer.run(PageViewComponentImpl.java:1152)
      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)

      At the moment it doesn't look to be causing any issues.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44561 Thu Apr 23 10:09:10 MDT 2015 patrick.corless PDF-878 fixed null pointer if page has no associated resources.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Page.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #44534 Tue Apr 21 10:25:26 MDT 2015 patrick.corless PDF-878 fixed null pointer if page has no associated resources.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/core/src/org/icepdf/core/pobjects/Page.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: