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] [Updated] (TIKA-2202) StringIndexOutOfBoundsException on a valid Word document
Date Tue, 13 Dec 2016 19:39:16 GMT

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

Seva Alekseyev updated TIKA-2202:
---------------------------------
    Attachment: 052306.ITN032AD_Lack_Protocolv0.45_22May06.doc

> 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
>         Attachments: 052306.ITN032AD_Lack_Protocolv0.45_22May06.doc
>
>
> 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