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

Tilman Hausherr commented on PDFBOX-4102:
-----------------------------------------

I tried 2.0.8 with the ExtractText command line utility and it works.

> java.lang.IllegalArgumentException: root cannot be null
> -------------------------------------------------------
>
>                 Key: PDFBOX-4102
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4102
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.8
>            Reporter: Wei Fa
>            Priority: Major
>         Attachments: Testing 123.pdf
>
>
> {color:#f00000}java.lang.IllegalArgumentException: root cannot be null{color}
>  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.getPages(PDDocument.java:1401)
>  at org.apache.pdfbox.text.PDFTextStripper.writeText(PDFTextStripper.java:266)
>  at org.apache.pdfbox.text.PDFTextStripper.getText(PDFTextStripper.java:227)
>  
>  
> Due to confidentiality of the original document, I'm uploaded a test document 
> which results in the same error. I'm using pdfbox-app-2.0.8.jar... please 
> help asap :(



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to