[ https://issues.apache.org/jira/browse/PDFBOX-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15477393#comment-15477393 ]
ASF subversion and git services commented on PDFBOX-3486: --------------------------------------------------------- Commit 1760045 from [~tilman] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1760045 ] PDFBOX-3486: IllegalArgumentException for images without dimensions > IllegalArgumentException for images without dimensions > ------------------------------------------------------ > > Key: PDFBOX-3486 > URL: https://issues.apache.org/jira/browse/PDFBOX-3486 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.2, 2.0.3, 2.1.0 > Reporter: Tilman Hausherr > Assignee: Tilman Hausherr > Fix For: 2.0.3, 2.1.0 > > Attachments: PDFJS-4575-noimagedim.pdf > > > {code} > Caused by: java.lang.IllegalArgumentException: Width (-1) and height (-1) > must be > 0 > > org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:154) > > org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:341) > org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:808) > {code} > I'll throw a checked exception instead. -- 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