java.lang.ArrayIndexOutOfBoundsException: -32718
        at java.util.ArrayList.get(Unknown Source)
        at
org.apache.poi.hssf.model.WorkbookRecordList.get(WorkbookRecordList.java:50)
        at
org.apache.poi.hssf.model.InternalWorkbook.getExFormatAt(InternalWorkbook.java:826)
        at 
org.apache.poi.hssf.usermodel.HSSFCell.getCellStyle(HSSFCell.java:923)
        at
org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java:1793)
        at
org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java:1727)
        at com.crpm.excelreport.ExcelReport.generateReport(ExcelReport.java:113)
...

I am getting the above exception for 1000 rows with 8 columns on
autoSizeColumn
since MS Excel size supports 65536 rows and 257 columns 
why formating in not happening on lesse records.

Why cant Apcahe POI provide methods for long range with
autoSizeColumn(long)?

Please help me to resolve this issue ...
-- 
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/java-lang-ArrayIndexOutOfBoundsException-32718-with-autoSizeColumn-int-method-tp3378861p3378861.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to