You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Johannes Porzelt (JIRA)" <ji...@apache.org> on 2017/10/04 15:38:00 UTC

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

Johannes Porzelt created PDFBOX-3952:
----------------------------------------

             Summary: 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