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

NPE in extractEmbeddedDocuments

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.7.0
    • Parsing
    • None
    • pdfbox 1.7.0 (current trunk)

    Description

      While parsing a pdf document the following exception is thrown:
      java.lang.NullPointerException
      at org.apache.pdfbox.tika.PDFParser.extractEmbeddedDocuments(PDFParser.java:155)
      at org.apache.pdfbox.tika.PDFParser.parse(PDFParser.java:133)
      at test.TikaParse.main(TikaParse.java:27)

      The document I'm trying to parse is probably confidential so I cannot attach it until (or if) I get clearence.

      Attachments

        1. PDFBOX-1320.patch
          4 kB
          Michael McCandless
        2. PDNameTreeNode.java.patch
          0.3 kB
          Samuli Saarinen

        Activity

          People

            tboehme Timo Boehme
            ssaarinen Samuli Saarinen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: