Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4102

java.lang.IllegalArgumentException: root cannot be null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.0.8
    • None
    • None
    • None

    Description

      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.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

      Attachments

        1. Testing 123.pdf
          27 kB
          lwf

        Activity

          People

            Unassigned Unassigned
            lwf lwf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: