It was fixed after 3.5-beta3. Please try the latest svn version .
Daily builds are available at
http://encore.torchbox.com/poi-svn-build/OOXML-Branch/
Yegor
Hi,
I have following code
CellStyle borderDataStyle = workBook.createCellStyle();
borderDataStyle.setBorderRight(CellStyle.BORDER_DOUBLE);
I get Null pointer exception:
java.lang.NullPointerException
at
org.apache.poi.xssf.usermodel.XSSFCellStyle.getBorderId(XSSFCellStyle.java:371)
at
org.apache.poi.xssf.usermodel.XSSFCellStyle.getCellBorder(XSSFCellStyle.java:362)
at
org.apache.poi.xssf.usermodel.XSSFCellStyle.setBorderRightEnum(XSSFCellStyle.java:272)
at
org.apache.poi.xssf.usermodel.XSSFCellStyle.setBorderRight(XSSFCellStyle.java:268)
Am I missing something?
Rajiv Poddar
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]