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

NullPointerException on a valid Word file

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.14
    • Fix Version/s: 2.0, 1.15
    • Component/s: parser
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: