Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.25, 2.0.29, 3.0.0 PDFBox, 4.0.0
-
None
Description
For attached pdf I am getting a null pointer exception when converting it to image. Log attached.
java.lang.NullPointerException at org.apache.pdfbox.rendering.PageDrawer.getPaint(PageDrawer.java:355) at org.apache.pdfbox.rendering.PageDrawer.getNonStrokingPaint(PageDrawer.java:747) at org.apache.pdfbox.rendering.PageDrawer.fillPath(PageDrawer.java:914) at org.apache.pdfbox.rendering.PageDrawer.fillAndStrokePath(PageDrawer.java:1019) at org.apache.pdfbox.contentstream.operator.graphics.FillNonZeroAndStrokePath.process(FillNonZeroAndStrokePath.java:39) at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:939) at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:514) at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:492) at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:155) at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:282) at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:355)