tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Burch (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-938) Index out of bounds exception parsing MS Word 2003 doc
Date Thu, 07 Jun 2012 10:11:23 GMT

    [ https://issues.apache.org/jira/browse/TIKA-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13290916#comment-13290916
] 

Nick Burch commented on TIKA-938:
---------------------------------

This looks like a problem with Apache POI, one of the libraries that Tika depends on. Please
open a bug with POI - <http://issues.apache.org/bugzilla/buglist.cgi?product=POI> -
and attach the problematic file to the bug report
                
> Index out of bounds exception parsing MS Word 2003 doc
> ------------------------------------------------------
>
>                 Key: TIKA-938
>                 URL: https://issues.apache.org/jira/browse/TIKA-938
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.1
>         Environment: mac os-x, windows 7
>            Reporter: Tim Barrett
>
> MS Word 2003 doc fails to parse with following trace
> -- I will email the doc to you if you tell me where to send it
> <p class="tOC_2"><b>2.1.P.6	Reference Standards or Materials
> </b></p>
> <p class="tOC_3"><i>Exception in thread "main" org.apache.tika.exception.TikaException:
Unexpected RuntimeException from org.apache.tika.parser.microsoft.OfficeParser@451415c8
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:244)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> 	at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
> 	at org.apache.tika.cli.TikaCLI$OutputType.process(TikaCLI.java:133)
> 	at org.apache.tika.cli.TikaCLI.process(TikaCLI.java:400)
> 	at org.apache.tika.cli.TikaCLI.main(TikaCLI.java:101)
> Caused by: java.lang.IndexOutOfBoundsException: Index: 151, Size: 79
> 	at java.util.ArrayList.RangeCheck(ArrayList.java:547)
> 	at java.util.ArrayList.get(ArrayList.java:322)
> 	at org.apache.poi.hwpf.model.ListTables.getOverride(ListTables.java:196)
> 	at org.apache.poi.hwpf.usermodel.Paragraph.newParagraph(Paragraph.java:108)
> 	at org.apache.poi.hwpf.usermodel.Range.getParagraph(Range.java:890)
> 	at org.apache.tika.parser.microsoft.WordExtractor.parse(WordExtractor.java:96)
> 	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:185)
> 	at org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:160)
> 	at org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:242)
> 	... 5 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message