DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43086>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43086

           Summary: OutOfBoundsException in autoSizeColumn
           Product: POI
           Version: 3.0-dev
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: [EMAIL PROTECTED]


this is my code

for(int i=0;i<30;i++)
    sheet.autoSizeColumn((short)i);



and this is stacktrace:

java.lang.ArrayIndexOutOfBoundsException: -32721
        at java.util.ArrayList.get(ArrayList.java:323)
        at 
org.apache.poi.hssf.model.WorkbookRecordList.get(WorkbookRecordList.java:54)
        at org.apache.poi.hssf.model.Workbook.getExFormatAt(Workbook.java:624)
        at 
org.apache.poi.hssf.usermodel.HSSFCell.getCellStyle(HSSFCell.java:856)
        at 
org.apache.poi.hssf.usermodel.HSSFSheet.autoSizeColumn(HSSFSheet.java:1424)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to