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

IllegalArgumentException in PDPageTree constructor: root cannot be null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.8, 2.0.0
    • Fix Version/s: 1.8.9, 2.0.0
    • Component/s: Parsing
    • Labels:
      None

      Description

      Exception in thread "main" java.lang.IllegalArgumentException: root cannot be null
              at org.apache.pdfbox.pdmodel.PDPageTree.<init>(PDPageTree.java:62)
              at org.apache.pdfbox.pdmodel.PDDocumentCatalog.getPages(PDDocumentCatalog.java:125)
              at org.apache.pdfbox.pdmodel.PDDocument.getPages(PDDocument.java:970)
              at org.apache.pdfbox.tools.PDFReader.openPDFFile(PDFReader.java:341)
              at org.apache.pdfbox.tools.PDFReader.main(PDFReader.java:326)
              at org.apache.pdfbox.tools.PDFBox.main(PDFBox.java:80)
      

        Attachments

        1. PDFBOX-2615.pdf
          249 kB
          Tilman Hausherr

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: