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

Wei Fa commented on PDFBOX-4102:
--------------------------------

Hi [~tilman], thank you for looking into this. I am also confused as to what is 
causing this issue. This issue occurs after that my code has been deployed in 
the server. The pdf file is read after performing a SFTP transfer of the file 
to another location. Could that possibly cause the problem? Also, are any steps 
that I can take to resolve this issue as it has been bugging me for days and I 
can't seem to find a solution online :(

> 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