poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajiv Poddar" <rajivkrpod...@gmail.com>
Subject Exception for columns more than 255 in new poi 3.5beta3
Date Fri, 07 Nov 2008 09:57:50 GMT
Hi,
 I get following error when trying to create columns more than 255 in a row
(I am using new XSSFWorkbook, poi 3.5beta3). I know new xslx allows columns
more than 255. Is it bug with poi or I am missing something?

 java.lang.RuntimeException: You cannot have more than 255 columns in a
given row (IV).  Because Excel can't handle it
    at org.apache.poi.xssf.usermodel.XSSFCell.checkBounds(XSSFCell.java:437)
    at org.apache.poi.xssf.usermodel.XSSFCell.setCellNum(XSSFCell.java:318)
    at org.apache.poi.xssf.usermodel.XSSFCell.setCellNum(XSSFCell.java:315)
    at org.apache.poi.xssf.usermodel.XSSFRow.addCell(XSSFRow.java:101)
    at org.apache.poi.xssf.usermodel.XSSFRow.createCell(XSSFRow.java:127)
    at org.apache.poi.xssf.usermodel.XSSFRow.createCell(XSSFRow.java:31)

Thanks,
Rajiv

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message