You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Christophe Lacroix (JIRA)" <ji...@apache.org> on 2015/09/10 12:00:47 UTC
[jira] [Created] (TIKA-1733) RuntimeException when parsing some
word (.doc) documents
Christophe Lacroix created TIKA-1733:
----------------------------------------
Summary: RuntimeException when parsing some word (.doc) documents
Key: TIKA-1733
URL: https://issues.apache.org/jira/browse/TIKA-1733
Project: Tika
Issue Type: Bug
Components: parser
Affects Versions: 1.10, 1.9, 1.8, 1.7, 1.6, 1.5
Environment: Windows and Linux
Reporter: Christophe Lacroix
I'm using Tika to extract text for Solr indexation.
For some word documents, Tika throws this Exception:
{code:xml}
Caused by: java.lang.IllegalArgumentException: This paragraph is not the first one in the table
at org.apache.poi.hwpf.usermodel.Range.getTable(Range.java:931)
at org.apache.tika.parser.microsoft.WordExtractor.handleParagraph(WordExtractor.java:240)
at org.apache.tika.parser.microsoft.WordExtractor.handleHeaderFooter(WordExtractor.java:225)
at org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:191)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:146)
at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:117)
at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
... 30 more
{code}
That seems to be the same bug as [https://issues.apache.org/jira/browse/TIKA-1251] but I cannot reproduce the bug with the attached doc in this JIRA.
Nevertheless, I cannot reproduce with my document and 1.4 Tika version.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)