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

Tilman Hausherr resolved PDFBOX-4801.
-------------------------------------
    Fix Version/s: 3.0.0 PDFBox
                   2.0.20
         Assignee: Tilman Hausherr
       Resolution: Fixed

> ArrayIndexOutOfBoundsException in PDICCBased.toRGB()
> ----------------------------------------------------
>
>                 Key: PDFBOX-4801
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4801
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.19
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.20, 3.0.0 PDFBox
>
>         Attachments: PDFBOX-4801-Bad-ICC-N.pdf
>
>
> {noformat}
> java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
>     
> org.apache.pdfbox.pdmodel.graphics.color.PDICCBased.toRGB(PDICCBased.java:403)
>     org.apache.pdfbox.rendering.PageDrawer.getPaint(PageDrawer.java:324)
>     
> org.apache.pdfbox.rendering.PageDrawer.getNonStrokingPaint(PageDrawer.java:684)
>     org.apache.pdfbox.rendering.PageDrawer.fillPath(PageDrawer.java:784) 
> {noformat}
> The reason is that the attached file has an incorrect ICC colorspace. N is 3 
> but should be 4.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to