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

NPE in PDPageNode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • None
    • None

    Description

      i get a nullpointer exception when parsing a pdf with tika.

      http://www.awsg.at/portal/media/4218.pdf

      java.lang.NullPointerException
      at org.apache.pdfbox.pdmodel.PDPageNode.getCount(PDPageNode.java:109)
      at
      org.apache.pdfbox.pdmodel.PDDocument.getNumberOfPages(PDDocument.java:943)
      at
      org.apache.tika.parser.pdf.PDFParser.extractMetadata(PDFParser.java:105)
      at org.apache.tika.parser.pdf.PDFParser.parse(PDFParser.java:86)

      Attachments

        1. 4218.pdf
          402 kB
          Reinhard Pötz

        Issue Links

          Activity

            People

              adamnichols Adam Nichols
              reinhard Reinhard Pötz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: