[ https://issues.apache.org/jira/browse/PDFBOX-5839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854974#comment-17854974 ]
Tilman Hausherr commented on PDFBOX-5839: ----------------------------------------- I didn't get an exception abort with file 2, but the change fixes the potential exception from the image. > ClassCastException: org.apache.pdfbox.cos.COSNull cannot be cast to > org.apache.pdfbox.cos.COSDictionary > ------------------------------------------------------------------------------------------------------- > > Key: PDFBOX-5839 > URL: https://issues.apache.org/jira/browse/PDFBOX-5839 > Project: PDFBox > Issue Type: Bug > Components: Rendering > Affects Versions: 2.0.31, 3.0.2 PDFBox > Reporter: liu > Priority: Major > Attachments: 1.pdf, 2.pdf, image-2024-06-14-15-36-01-099.png > > > [^1.pdf][^2.pdf] > ^!image-2024-06-14-15-36-01-099.png|width=395,height=214!^ > When rendering 1.pdf and 2.pdf, there will be a ClassCastException problem. > -- 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