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

Tilman Hausherr commented on PDFBOX-2183:
-----------------------------------------

Sure I could have done that, but I felt that the bug by the creator of that 
file was too extreme, and after rendering the file I didn't see any difference 
to acrobat reader.

> COSArray cannot be cast to COSNumber
> ------------------------------------
>
>                 Key: PDFBOX-2183
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2183
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.6, 1.8.7, 2.0.0
>            Reporter: simon steiner
>            Assignee: Tilman Hausherr
>              Labels: Annotations
>             Fix For: 1.8.7, 2.0.0
>
>         Attachments: input.pdf
>
>
> java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage 
> input.pdf
> Exception in thread "main" java.lang.ClassCastException: 
> org.apache.pdfbox.cos.COSArray cannot be cast to 
> org.apache.pdfbox.cos.COSNumber
>       at org.apache.pdfbox.cos.COSArray.toFloatArray(COSArray.java:530)
>       at 
> org.apache.pdfbox.pdmodel.common.PDRectangle.<init>(PDRectangle.java:97)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to