Hi,
I'm encountering a problem with a XSSFWorkbook after I save if using saveAs(URI). I am using the 3.8-beta4 version of apache poi. Before saving the workbook I can get the column width for a given column the contains a cell with some content, and this works fine. However after calling saveAs(URI), if I then read the same column width I receive an IndexOutOfBounds Exception, although the cell in that column appears
to still exist and successfully returns with its value.

java.lang.IndexOutOfBoundsException
at org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTWorksheetImpl.getColsArray(Unknown Source) at org.apache.poi.xssf.usermodel.helpers.ColumnHelper.getColumn1Based(ColumnHelper.java:103) at org.apache.poi.xssf.usermodel.helpers.ColumnHelper.getColumn(ColumnHelper.java:95) at org.apache.poi.xssf.usermodel.XSSFSheet.getColumnWidth(XSSFSheet.java:668)


thanks in advance,
Stuart.


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

Reply via email to