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

IllegalArgumentException in PDPageTree constructor: root cannot be null

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.8.8, 2.0.0
    • 1.8.9, 2.0.0
    • Parsing
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: