[ 
https://issues.apache.org/jira/browse/PDFBOX-3482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15503901#comment-15503901
 ] 

Tilman Hausherr commented on PDFBOX-3482:
-----------------------------------------

[~gsex...@mhsoftware.com] I've added some debug log output. You need to set 
logging to debug to see it.

https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.4-SNAPSHOT/

> RasterFormatException: (y + height) is outside raster creating Thumbnail
> ------------------------------------------------------------------------
>
>                 Key: PDFBOX-3482
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3482
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.0.2
>         Environment: OpenSuse Linux, Apache Tomcat 7.0.70, Java Oracle JDK 
> 1.8.0_U102
>            Reporter: George Sexton
>            Priority: Minor
>             Fix For: 2.0.4, 2.1.0
>
>         Attachments: 2015-Lambs-to-Leaders-posterv04.pdf
>
>
> Attempting to extract a thumbnail image from the attached PDF using 
> pdfbox-2.0.3-20160902.161822-193.jar throws the exception:
> java.awt.image.RasterFormatException: (y + height) is outside raster
>       at 
> sun.awt.image.IntegerInterleavedRaster.createWritableChild(IntegerInterleavedRaster.java:470)
>       at 
> sun.awt.image.IntegerInterleavedRaster.createChild(IntegerInterleavedRaster.java:514)
>       at 
> sun.java2d.pipe.GeneralCompositePipe.renderPathTile(GeneralCompositePipe.java:106)
>       at sun.java2d.pipe.AAShapePipe.renderTiles(AAShapePipe.java:201)
>       at sun.java2d.pipe.AAShapePipe.renderPath(AAShapePipe.java:159)
>       at sun.java2d.pipe.AAShapePipe.fill(AAShapePipe.java:68)
>       at 
> sun.java2d.pipe.PixelToParallelogramConverter.fill(PixelToParallelogramConverter.java:164)
>       at sun.java2d.pipe.ValidatePipe.fill(ValidatePipe.java:160)
>       at sun.java2d.SunGraphics2D.fill(SunGraphics2D.java:2525)
>       at org.apache.pdfbox.rendering.PageDrawer.fillPath(PageDrawer.java:626)
>       at 
> org.apache.pdfbox.contentstream.operator.graphics.FillNonZeroRule.process(FillNonZeroRule.java:36)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processTransparencyGroup(PDFStreamEngine.java:213)
>       at 
> org.apache.pdfbox.rendering.PageDrawer.access$1000(PageDrawer.java:89)
>       at 
> org.apache.pdfbox.rendering.PageDrawer$TransparencyGroup.<init>(PageDrawer.java:1229)
>       at 
> org.apache.pdfbox.rendering.PageDrawer$TransparencyGroup.<init>(PageDrawer.java:1163)
>       at 
> org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroup(PageDrawer.java:1127)
>       at 
> org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:66)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processTransparencyGroup(PDFStreamEngine.java:213)
>       at 
> org.apache.pdfbox.rendering.PageDrawer.access$1000(PageDrawer.java:89)
>       at 
> org.apache.pdfbox.rendering.PageDrawer$TransparencyGroup.<init>(PageDrawer.java:1229)
>       at 
> org.apache.pdfbox.rendering.PageDrawer$TransparencyGroup.<init>(PageDrawer.java:1163)
>       at 
> org.apache.pdfbox.rendering.PageDrawer.showTransparencyGroup(PageDrawer.java:1127)
>       at 
> org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:66)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:815)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:472)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:446)
>       at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:149)
>       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 
> com.mhsoftware.graphics.ImageHelper.getPDFThumbnail(ImageHelper.java:583)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to