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

NPE in PDPageNode

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: