You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/02/16 18:26:00 UTC

[jira] [Commented] (PDFBOX-5566) ClassCastException in ShadingFill.process()

    [ https://issues.apache.org/jira/browse/PDFBOX-5566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17689904#comment-17689904 ] 

ASF subversion and git services commented on PDFBOX-5566:
---------------------------------------------------------

Commit 1907704 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1907704 ]

PDFBOX-5566: avoid ClassCastException

> ClassCastException in ShadingFill.process()
> -------------------------------------------
>
>                 Key: PDFBOX-5566
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5566
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.27
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.28, 3.0.0 PDFBox
>
>
> {noformat}
> java.lang.ClassCastException: org.apache.pdfbox.cos.COSFloat cannot be cast to org.apache.pdfbox.cos.COSName
>     org.apache.pdfbox.contentstream.operator.graphics.ShadingFill.process(ShadingFill.java:48)
> {noformat}
> happens with the file from https://bugs.ghostscript.com/show_bug.cgi?id=706414



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org