tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Allison (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TIKA-2202) StringIndexOutOfBoundsException on a valid Word document
Date Wed, 14 Dec 2016 12:02:58 GMT

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

Tim Allison updated TIKA-2202:
------------------------------
    Attachment: TIKA-2202.xml

Extracted content with trunk

> StringIndexOutOfBoundsException on a valid Word document
> --------------------------------------------------------
>
>                 Key: TIKA-2202
>                 URL: https://issues.apache.org/jira/browse/TIKA-2202
>             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: 1.15
>
>         Attachments: 052306.ITN032AD_Lack_Protocolv0.45_22May06.doc, TIKA-2202.xml
>
>
> The attachged document, which opens in Word, errors out in Tika:
> java.lang.StringIndexOutOfBoundsException: String index out of range: 0
> 	at java.lang.String.charAt:-1
> 	at org.apache.tika.parser.microsoft.ListManager.convertToNewNumberText:152
> 	at org.apache.tika.parser.microsoft.ListManager.buildTuple:111
> 	at org.apache.tika.parser.microsoft.ListManager.getFormattedNumber:86
> 	at org.apache.tika.parser.microsoft.WordExtractor.handleParagraph:298
> 	at org.apache.tika.parser.microsoft.WordExtractor.parse:179
> 	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.4#6332)

Mime
View raw message