You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/08 21:56:13 UTC
[jira] [Commented] (PDFBOX-2542) IllegalArgumentException: root
must be of type Pages
[ https://issues.apache.org/jira/browse/PDFBOX-2542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238450#comment-14238450 ]
ASF subversion and git services commented on PDFBOX-2542:
---------------------------------------------------------
Commit 1643915 from [~jahewson] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1643915 ]
PDFBOX-2542: Removed check for Type of page tree root
> 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
> Assignee: John Hewson
> Fix For: 2.0.0
>
> 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)