pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joni Niemi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PDFBOX-3482) RasterFormatException: (y + height) is outside raster creating Thumbnail
Date Tue, 11 Jun 2019 12:34:00 GMT

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

Joni Niemi commented on PDFBOX-3482:
------------------------------------

> So don't use openjdk 8.

That's the only Java implementation that AWS Lambda offers. :(

> 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
>         Attachments: 2015-Lambs-to-Leaders-posterv04.pdf, PDFBox3482.java, log4j.txt
>
>
> 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
(v7.6.3#76005)

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


Mime
View raw message