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

        Hide
        Patrick Corless added a comment -

        We found this yesterday and the fix is on the 5.0.1 branch. We'll be getting a patch release out before end of week.

        Show
        Patrick Corless added a comment - We found this yesterday and the fix is on the 5.0.1 branch. We'll be getting a patch release out before end of week.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: