[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-user
Subject:    Re: ArrayIndexOutOfBoundsException in poi3.11
From:       Dominik Stadler <dominik.stadler () gmx ! at>
Date:       2015-02-22 19:01:15
Message-ID: CABdJj57pdTc5uOeDHD4GyMEmqnfDiany6Kp7Rhk+CcSGHgKRbw () mail ! gmail ! com
[Download RAW message or body]


Sounds like a bug, can you open a bugzilla entry with the two versions of
the file attached?

Thanks... Dominik
Am 22.02.2015 09:30 schrieb "Rajiv Poddar" <rajivkrpoddar@gmail.com>:

> Hi,
>   I'm using POI 3.11 latest release to read an Excel file (.xls). While
> reading, it gives following exception-
>
> java.lang.ArrayIndexOutOfBoundsException: -32768
> at
>
> org.apache.poi.hssf.record.aggregates.ValueRecordsAggregate.insertCell(ValueRecordsAggregate.java:73)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at
>
> org.apache.poi.hssf.record.aggregates.ValueRecordsAggregate.construct(ValueRecordsAggregate.java:185)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at
>
> org.apache.poi.hssf.record.aggregates.RowRecordsAggregate.<init>(RowRecordsAggregate.java:99)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at org.apache.poi.hssf.model.InternalSheet.<init>(InternalSheet.java:217)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at
> org.apache.poi.hssf.model.InternalSheet.createSheet(InternalSheet.java:156)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:326)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:278)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:213)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:361)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:342)
> ~[poi-3.11-beta2.jar:3.11-beta2]
> at
> org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:84)
> ~[poi-ooxml-3.11-20141221.jar:3.11]
>
> Excel file has some pictures. If I remove pictures then it works fine. Is
> this a known bug? any workaround till it's fixed and released?
>
> Thanks,
> Rajiv
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic