You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/10/19 19:16:58 UTC

[jira] [Commented] (PDFBOX-3533) IOException "expected number, actual=COSArray{...}" on a valid PDF

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

Tilman Hausherr commented on PDFBOX-3533:
-----------------------------------------

No, this is not a "valid PDF". It has this:
{code}
/Dest [ 7 0 R /XYZ null null null ] 0 R
{code}
The "0 R" does not belong there. That some other viewer is able to open the file does not make it correct. It just means that another viewer is more lenient.

> IOException "expected number, actual=COSArray{...}" on a valid PDF
> ------------------------------------------------------------------
>
>                 Key: PDFBOX-3533
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3533
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 2.1.0
>         Environment: Windows 7 x64, JVM 1.8.0_101
>            Reporter: Seva Alekseyev
>
> On the following PDF file that open with Acrobat:
> https://dl.dropboxusercontent.com/u/92341073/097-allowed_claims.pdf
> the PDDocument.load() method errors with the following message:
> {code}
> "expected number, actual=COSArray{[COSObject{7, 0}, COSName{XYZ}, COSNull{}, COSNull{}, COSNull{}]} at offset 497"
> {code}



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

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