You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2017/02/06 15:30:42 UTC

[jira] [Resolved] (TIKA-2198) NullPointerException on a valid Word file

     [ https://issues.apache.org/jira/browse/TIKA-2198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison resolved TIKA-2198.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.15
                   2.0

Had to add null check to Tika to handle new null.

> NullPointerException on a valid Word file
> -----------------------------------------
>
>                 Key: TIKA-2198
>                 URL: https://issues.apache.org/jira/browse/TIKA-2198
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.14
>         Environment: Windows 7 x64, JVM 1.8.0_101
>            Reporter: Seva Alekseyev
>             Fix For: 2.0, 1.15
>
>         Attachments: CIPRA SA concept project 2 rev JM.doc
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)