https://bz.apache.org/bugzilla/show_bug.cgi?id=64044
Bug ID: 64044
Summary: NPE when passing null to setCellValue as LocalDate
type in CellBase
Product: POI
Version: 4.1.1-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: SS Common
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
If passing null to any setCellValue method for CellBase it would set cell type
to blank.
There is only one exception, when passing null as LocalDate type due to default
implementation in Cell interface which tries to convert LocalDate to
LocalDateTime by invoking atStartOfDay method on given LocalDate.
To be consistent, the default implementation should be removed and CellBase
would need to check for null as in other implementations of setCellValue method
--
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]