[ https://issues.apache.org/jira/browse/PDFBOX-5839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17854981#comment-17854981 ]
liu commented on PDFBOX-5839: ----------------------------- !image-2024-06-14-16-35-39-381.png|width=373,height=202! I see that the toDictionary method is called in many places. > 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, > image-2024-06-14-16-35-39-381.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