Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.4
-
None
-
None
Description
Specifically page 7 of the PDF document is failing.
PDF Document:
http://download.win2pdf.com/samples/PowerPoint-slides.pdf
(also attached to ticket)
Stack trace:
Exception in thread "main" java.lang.NegativeArraySizeException
at java.awt.image.DataBufferByte.<init>(DataBufferByte.java:76)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:266)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:212)
at java.awt.image.ComponentColorModel.createCompatibleWritableRaster(ComponentColorModel.java:2825)
at org.apache.pdfbox.rendering.TilingPaint.getImage(TilingPaint.java:134)
at org.apache.pdfbox.rendering.TilingPaint.<init>(TilingPaint.java:69)
at org.apache.pdfbox.rendering.PageDrawer.getPaint(PageDrawer.java:251)
at org.apache.pdfbox.rendering.PageDrawer.getNonStrokingPaint(PageDrawer.java:526)
at org.apache.pdfbox.rendering.PageDrawer.fillPath(PageDrawer.java:597)
at org.apache.pdfbox.contentstream.operator.graphics.FillEvenOddRule.process(FillEvenOddRule.java:36)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:829)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:486)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:460)
at org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:150)
at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:189)
at org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:145)
at org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:94)
at org.apache.pdfbox.tools.PDFToImage.main(PDFToImage.java:236)
at org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:94)
Attachments
Attachments
Issue Links
- duplicates
-
PDFBOX-3846 image too big
- Closed