-
Bug
-
Resolution: Fixed
-
Major
-
5.12.2
-
None
-
Security Level: Jimmy
-
None
-
None
Steps to Reproduce
run attached repro.xlsx
Current Result
Cell A2 returns "error"
Expected Result
Cell A2 returns "3"
Debug Information
org.zkoss.poi.ss.formula.SortedValues.searchLessThanOrEqual(double, int, int)
tries to read from a map<String, ...> with a Double as searched value.
Causes ClassCastException
Workaround
Attached replacement SortedValues class