https://bz.apache.org/bugzilla/show_bug.cgi?id=65065
Bug ID: 65065
Summary: NullPointerException in
org.apache.poi.xssf.usermodel.XSSFCellStyle#cloneStyle
From
Product: POI
Version: 4.1.2-FINAL
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: major
Priority: P2
Component: XSSF
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Exception:
Exception in thread "main" java.lang.NullPointerException
at
org.apache.poi.xssf.model.StylesTable.getNumberFormatId(StylesTable.java:273)
at
org.apache.poi.xssf.model.StylesTable.putNumberFormat(StylesTable.java:295)
at
org.apache.poi.xssf.usermodel.XSSFDataFormat.getFormat(XSSFDataFormat.java:52)
at
org.apache.poi.xssf.usermodel.XSSFCellStyle.cloneStyleFrom(XSSFCellStyle.java:185)
at
com.genshui.excel.ExcelStyleTest.copyCellStyle(ExcelStyleTest.java:56)
at com.genshui.excel.ExcelStyleTest.main(ExcelStyleTest.java:29)
it actually happened in org.apache.poi.xssf.model.StylesTable#getNumberFormatId
when the map numberFormats has a null value
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]