Summary: | java.lang.IndexOutOfBoundsException during Workbook.cloneSheet() | ||
---|---|---|---|
Product: | POI | Reporter: | Sergey Skalchihin <skalchihin> |
Component: | HSSF | Assignee: | POI Developers List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | P3 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Windows XP |
Description
Sergey Skalchihin
2004-02-17 12:52:20 UTC
We're going to need more detail...like the blank.xls file you used. I just tried this code with version 2.0 FINAL and it worked ok. java.lang.IndexOutOfBoundsException is throws if "blank.xls" file consist merged cells. Removed variable that stores the number of merged regions in its record since the array should be the basis for this number. Less manual index tracking, the better. Thanks for problem report! Should be released shortly in a development/production release but is now available in CVS. |