ICEpdf
  1. ICEpdf
  2. PDF-740

NullPointerException at org.icepdf.core.pobjects.Page.paintPageContent

    Details

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

      Description

      Because of recent changes PageText.getPageLines() returns null instead of an empty list when no visible page lines are found. This causes Page.paintPageContent to fail.

      Stacktrace:
      java.lang.NullPointerException
      at org.icepdf.core.pobjects.Page.paintPageContent(Page.java:567)
      at org.icepdf.core.pobjects.Page.paint(Page.java:499)
      at org.icepdf.core.pobjects.Page.paint(Page.java:431)
      at org.icepdf.core.pobjects.Document.getPageImage(Document.java:1099)

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #40856 Tue Apr 22 10:35:52 MDT 2014 patrick.corless PDF-740 addressed the possibility of null page lines. when painting page content.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/core/src/org/icepdf/core/pobjects/Page.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: