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

Tim Allison commented on TIKA-2120:
-----------------------------------

With tika trunk, I'm now getting:

{noformat}
Caused by: java.lang.IllegalArgumentException: Unsupported codepage requested
        at 
org.apache.poi.hssf.record.OldStringRecord.getString(OldStringRecord.java:83)
        at 
org.apache.poi.hssf.record.OldSheetRecord.getSheetname(OldSheetRecord.java:68)
        at 
org.apache.poi.hssf.extractor.OldExcelExtractor.getText(OldExcelExtractor.java:240)
        at 
org.apache.tika.parser.microsoft.OldExcelParser.parse(OldExcelParser.java:57)
        at 
org.apache.tika.parser.microsoft.ExcelExtractor.parse(ExcelExtractor.java:156)
        at 
org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:177)
        at 
org.apache.tika.parser.microsoft.OfficeParser.parse(OfficeParser.java:130)
        at 
org.apache.tika.parser.CompositeParser.parse(CompositeParser.java:280)
        ... 43 more
Caused by: java.io.UnsupportedEncodingException: cp63038
        at java.lang.StringCoding.decode(Unknown Source)
        at java.lang.String.<init>(Unknown Source)
        at 
org.apache.poi.util.CodePageUtil.getStringFromCodePage(CodePageUtil.java:234)
        at 
org.apache.poi.util.CodePageUtil.getStringFromCodePage(CodePageUtil.java:221)
        at 
org.apache.poi.hssf.record.OldStringRecord.getString(OldStringRecord.java:81)
        ... 50 more
{noformat}

> NegativeArraySizeException on a password protected Excel workbook
> -----------------------------------------------------------------
>
>                 Key: TIKA-2120
>                 URL: https://issues.apache.org/jira/browse/TIKA-2120
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.13
>            Reporter: Seva Alekseyev
>
> On the following password protected Excel file
> https://dl.dropboxusercontent.com/u/92341073/20090906%20real%20inventory.xls
> The Tika parser throws NegativeArraySizeException.



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

Reply via email to