tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seva Alekseyev (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TIKA-2160) POIXMLException from NullPointerException on a valid Word file
Date Fri, 04 Nov 2016 14:22:58 GMT
Seva Alekseyev created TIKA-2160:
------------------------------------

             Summary: POIXMLException from NullPointerException on a valid Word file
                 Key: TIKA-2160
                 URL: https://issues.apache.org/jira/browse/TIKA-2160
             Project: Tika
          Issue Type: Bug
          Components: parser
    Affects Versions: 1.13
         Environment: Windows 7 x64, JVM 1.8.0_101
            Reporter: Seva Alekseyev


On the attached word file, which opens fine with Word (albeit with no text), the Tika parser
throws the following error:

org.apache.poi.POIXMLException: java.lang.NullPointerException
	at org.apache.poi.xwpf.usermodel.XWPFFooter.onDocumentRead(XWPFFooter.java:130)
	at org.apache.poi.xwpf.usermodel.XWPFDocument.onDocumentRead(XWPFDocument.java:208)
	at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:160)
	at org.apache.poi.xwpf.usermodel.XWPFDocument.<init>(XWPFDocument.java:124)
	at org.apache.poi.xwpf.extractor.XWPFWordExtractor.<init>(XWPFWordExtractor.java:58)
	at org.apache.poi.extractor.ExtractorFactory.createExtractor(ExtractorFactory.java:237)
	at org.apache.tika.parser.microsoft.ooxml.OOXMLExtractorFactory.parse(OOXMLExtractorFactory.java:86)
	at org.apache.tika.parser.microsoft.ooxml.OOXMLParser.parse(OOXMLParser.java:87)
Caused by: java.lang.NullPointerException
	at org.apache.poi.xwpf.usermodel.AbstractXWPFSDT.<init>(AbstractXWPFSDT.java:37)
	at org.apache.poi.xwpf.usermodel.XWPFSDT.<init>(XWPFSDT.java:38)
	at org.apache.poi.xwpf.usermodel.XWPFFooter.onDocumentRead(XWPFFooter.java:124)
	... 9 more




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message