https://issues.apache.org/bugzilla/show_bug.cgi?id=48269
Summary: [PATCH] Exception occurs while try
getErrorCellString() from XSSFCell
Product: POI
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
When we try get error code from the cell with contains formula that returns
Error we get exception:
java.lang.IllegalStateException: Cannot get a error value from a formula cell
at org.apache.poi.xssf.usermodel.XSSFCell.typeMismatch(XSSFCell.java:781)
at
org.apache.poi.xssf.usermodel.XSSFCell.getErrorCellString(XSSFCell.java:580)
at
org.apache.poi.xssf.usermodel.XSSFCell.getErrorCellValue(XSSFCell.java:596)
It is caused by wrong type identification in method getErrorCellString().
Solution for this problem and simle test see in attachment.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]