Details
-
Type: Bug
-
Status: Closed
-
Priority: 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)
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
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.