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 2017/10/04 16:21:00 UTC

[jira] [Commented] (PDFBOX-3952) IllegalArgumentException: root cannot be null for Canon scanned PDFs

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

Tilman Hausherr commented on PDFBOX-3952:
-----------------------------------------

This is contradictory. You claim it affects 2.0.7 but also mention it has been fixed in 2.0.7. I can display the file with 2.0.7 and with the trunk. Could you please clarify?

> 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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org