[ 
https://issues.apache.org/jira/browse/PDFBOX-3097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr resolved PDFBOX-3097.
-------------------------------------
    Resolution: Fixed

> ClassCastException in Axial / Radial shading when object reference in extends
> -----------------------------------------------------------------------------
>
>                 Key: PDFBOX-3097
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3097
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.10, 1.8.11, 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.11, 2.0.0
>
>         Attachments: gs-bugzilla696338.pdf
>
>
> {code}
> java.lang.ClassCastException: org.apache.pdfbox.cos.COSObject cannot be cast 
> to org.apache.pdfbox.cos.COSBoolean
>     
> org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingContext.<init>(AxialShadingContext.java:92)
>     
> org.apache.pdfbox.pdmodel.graphics.shading.AxialShadingPaint.createContext(AxialShadingPaint.java:67)
> {code}
> Same bug as in ghostscript: extends as references. Fix by using getObject() 
> instead of get().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to