[ https://issues.apache.org/jira/browse/PDFBOX-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799221#comment-16799221 ]
Tilman Hausherr commented on PDFBOX-4492: ----------------------------------------- >From my observation it crashed in {{graphics.stroke()}}. However I trired with >different java versions: jdk12: works jdk11: works corretto (1.8.0_202): RasterFormatException jdk10: works jdk9: works So you could just update and it would work fine. > JVM crashes on PDFRenderer.renderImage > -------------------------------------- > > Key: PDFBOX-4492 > URL: https://issues.apache.org/jira/browse/PDFBOX-4492 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.11, 2.0.14 > Environment: Oracle Java 8 update125, on both Mac OS X and centos. > Also Oracle jdk 1.8.0_202 on W10. > Reporter: Jack > Priority: Critical > Attachments: crash.uploaded.pdf > > > When running the following java program on the attached PDF: > {code} > File file = new File("/Users/yujiang/Downloads", "crash.uploaded.pdf"); > PDDocument document = PDDocument.load(file); > PDFRenderer renderer = new PDFRenderer(document); > BufferedImage bufferedImage = renderer.renderImage(0, 0.20F);{code} > JVM will crash without any log > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org