[ https://issues.apache.org/jira/browse/PDFBOX-5903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899380#comment-17899380 ]
Evgeny commented on PDFBOX-5903: -------------------------------- [~lehmi], Ok, to be honest, we are using pdfbox not directly. We are using openhtmltopdf library, that under the hood uses pdfbox. So, what I did: {code:java} <dependency> <groupId>com.openhtmltopdf</groupId> <artifactId>openhtmltopdf-pdfbox</artifactId> <version>1.0.6</version> <exclusions> <exclusion> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> </exclusion> <exclusion> <groupId>org.apache.pdfbox</groupId> <artifactId>xmpbox</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>pdfbox</artifactId> <version>2.0.32</version> </dependency> <dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>xmpbox</artifactId> <version>2.0.32</version> </dependency> {code} And I still catch the error. > Java fatal error on C2 compilation step > --------------------------------------- > > Key: PDFBOX-5903 > URL: https://issues.apache.org/jira/browse/PDFBOX-5903 > Project: PDFBox > Issue Type: Bug > Components: PDModel > Reporter: Evgeny > Priority: Critical > Attachments: hs_err_pid1.log > > > Java fatal error on C2 compilation of > org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader::getRGBImage > PdfBox version 2.0.22 > We started detecting the error after migration the application on Java 21. > Previous java version was 17. > Issue reproduced on both Linux and Windows. > Attchaed file [^hs_err_pid1.log] is for application in docker, Java version > on windows: > openjdk 21.0.1 2023-10-17 LTS > OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS) > OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode, > sharing) -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org