poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rajiv Poddar <rajivkrpod...@gmail.com>
Subject ArrayIndexOutOfBoundsException in poi3.11
Date Sun, 22 Feb 2015 08:30:38 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message