Discussion:
[jXLS-user] Bug : Cell index must be >= 0
O M
2011-06-08 14:02:51 UTC
Permalink
Hello,

I have the following error with 1.0-RC-2 version of JXLS :
java.lang.IllegalArgumentException: Cell index must be >= 0
at org.apache.poi.xssf.usermodel.XSSFRow.getCell(XSSFRow.java:201)
at org.apache.poi.xssf.usermodel.XSSFRow.getCell(XSSFRow.java:188)
at org.apache.poi.xssf.usermodel.XSSFRow.getCell(XSSFRow.java:38)
at net.sf.jxls.transformer.XLSTransformer.preprocess(XLSTransformer.java:467)
[...]

This error occurs when i have thick borders in my template file and when the cell(s) above the border is empty (see attached file).

Cordially.
Leo
2011-06-08 14:42:39 UTC
Permalink
Hi,

Thanks for reporting the error. I will check if I can reproduce it.
It would be good if you could provide a working sample demonstrating the
error.

--
Thanks,
Leo
Post by O M
Hello,
java.lang.IllegalArgumentException: Cell index must be >= 0
at org.apache.poi.xssf.usermodel.XSSFRow.getCell(XSSFRow.java:201)
at org.apache.poi.xssf.usermodel.XSSFRow.getCell(XSSFRow.java:188)
at org.apache.poi.xssf.usermodel.XSSFRow.getCell(XSSFRow.java:38)
at
net.sf.jxls.transformer.XLSTransformer.preprocess(XLSTransformer.java:467)
[...]
This error occurs when i have thick borders in my template file and when
the cell(s) above the border is empty (see attached file).
Cordially.
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
jXLS-user mailing list
https://lists.sourceforge.net/lists/listinfo/jxls-user
Continue reading on narkive:
Loading...