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 2014/12/03 20:58:13 UTC
[jira] [Updated] (PDFBOX-2542) IllegalArgumentException: root must
be of type Pages
[ https://issues.apache.org/jira/browse/PDFBOX-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr updated PDFBOX-2542:
------------------------------------
Attachment: 249776.pdf
> IllegalArgumentException: root must be of type Pages
> ----------------------------------------------------
>
> Key: PDFBOX-2542
> URL: https://issues.apache.org/jira/browse/PDFBOX-2542
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Attachments: 249776.pdf
>
>
> {code}
> java.lang.IllegalArgumentException: root must be of type Pages
> at org.apache.pdfbox.pdmodel.PDPageTree.<init>(PDPageTree.java:66)
> at org.apache.pdfbox.pdmodel.PDDocumentCatalog.getPages(PDDocumentCatalog.java:125)
> at org.apache.pdfbox.pdmodel.PDDocument.getNumberOfPages(PDDocument.java:1175)
> {code}
> The cause is this
> {code}
> <<
> /Count 11
> /Kids [ 100 0 R 141 0 R ]
> >>
> endobj
> {code}
> /Type /Pages is missing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)