Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-2198

NullPointerException on a valid Word file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.14
    • 1.15, 2.0.0
    • parser
    • None
    • Windows 7 x64, JVM 1.8.0_101

    Description

      On the attached file, which opens fine in Word, the Tika parser throws the following error:

      java.lang.NullPointerException:
      at org.apache.poi.hwpf.model.ListTables.getLevel:141
      at org.apache.poi.hwpf.usermodel.Paragraph.newParagraph:125
      at org.apache.poi.hwpf.usermodel.Range.getParagraph:766
      at org.apache.tika.parser.microsoft.WordExtractor.parse:178
      at org.apache.tika.parser.microsoft.OfficeParser.parse:169
      at org.apache.tika.parser.microsoft.OfficeParser.parse:130

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sevaa Seva Alekseyev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: