You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Alain Graf <al...@graf-tec.ch> on 2006/11/30 17:42:38 UTC

WG: java.lang.ArrayIndexOutOfBoundsException

Hi,

I get the error below when I try to create a Workbook with "...new
HSSFWorkbook(inputstream)"

Caused by: java.lang.ArrayIndexOutOfBoundsException: 11
	at org.apache.poi.util.LittleEndian.getNumber(LittleEndian.java:491)
	at org.apache.poi.util.LittleEndian.getInt(LittleEndian.java:139)
	at org.apache.poi.hssf.record.BOFRecord.fillFields(BOFRecord.java:133)
	at org.apache.poi.hssf.record.Record.fillFields(Record.java:90)
	at org.apache.poi.hssf.record.Record.<init>(Record.java:55)
	at org.apache.poi.hssf.record.BOFRecord.<init>(BOFRecord.java:98)
	... 49 more

I can read the file when I open it in excel and save it again!!!

Could somebody help?

Thanks...

PS: I attached the original test file