[
https://issues.apache.org/jira/browse/TIKA-2144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15610867#comment-15610867
]
Nick Burch commented on TIKA-2144:
----------------------------------
Do you know how the file in question was generated? It seems to have paragraphs
with stylings applied, but not style definitions at all, which seems a bit
odd...
> NullPointerException on a valid Word file
> -----------------------------------------
>
> Key: TIKA-2144
> URL: https://issues.apache.org/jira/browse/TIKA-2144
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.13
> Environment: Windows 7 x64, JVM 1.8.0_101
> Reporter: Seva Alekseyev
> Attachments: Proposal ID 17 Offeror ChromoLogic.docx
>
>
> On the attached Word file, which opens fine in Word, the Tika parser throws
> the following error:
> java.lang.NullPointerException
> at
> org.apache.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.extractParagraph(XWPFWordExtractorDecorator.java:149)
> at
> org.apache.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.extractIBodyText(XWPFWordExtractorDecorator.java:107)
> at
> org.apache.tika.parser.microsoft.ooxml.XWPFWordExtractorDecorator.buildXHTML(XWPFWordExtractorDecorator.java:93)
> at
> org.apache.tika.parser.microsoft.ooxml.AbstractOOXMLExtractor.getXHTML(AbstractOOXMLExtractor.java:109)
> at
> org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:112)
> at
> org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:87)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)