[
https://issues.apache.org/jira/browse/PDFBOX-3952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16191596#comment-16191596
]
Johannes Porzelt commented on PDFBOX-3952:
------------------------------------------
Thank you for the fast reply!
Sorry about the confusion:
I mean all related issues (PDFBOX-2615, TIKA-2406) seemed to be fixed in 2.0.7.
Our documents produce the above exception in the following tested versions
2.0.6, 2.0.7 and 3.0.0-SNAPSHOT.
Currently we are using 2.0.7.
I can't say anything about viewing the documents. In our code we call the
method _getNumberOfPages()_
Do have any idea what could have been gone wrong?
Is there something special/wrong with our PDFs?
> IllegalArgumentException: root cannot be null for Canon scanned PDFs
> --------------------------------------------------------------------
>
> Key: PDFBOX-3952
> URL: https://issues.apache.org/jira/browse/PDFBOX-3952
> Project: PDFBox
> Issue Type: Bug
> Components: Parsing
> Affects Versions: 2.0.7, 3.0.0
> Environment: java version "1.8.0_144"
> Reporter: Johannes Porzelt
> Attachments: 01b Die Wettbewerbskräfte neu betrachtet - 5 Forces
> 2.pdf, 02e Die 3 Regeln für den Erfolg - Spitzenleistungen-3.pdf
>
>
> We encounter the below exception while trying to process the attached
> documents.
> All issues that produced a similar or same exception seemed to fixed in our
> version (2.0.7).
> PDFs are scans of _Canon iR-ADV C5250_
> {code:java}
> java.lang.IllegalArgumentException: root cannot be null
> at org.apache.pdfbox.pdmodel.PDPageTree.<init>(PDPageTree.java:75)
> at
> org.apache.pdfbox.pdmodel.PDDocumentCatalog.getPages(PDDocumentCatalog.java:129)
> at
> org.apache.pdfbox.pdmodel.PDDocument.getNumberOfPages(PDDocument.java:1398)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]