https://bz.apache.org/bugzilla/show_bug.cgi?id=61063
Bug ID: 61063
Summary: Use of arrays of values leads to non empty stack
Product: POI
Version: 3.16-FINAL
Hardware: PC
Status: NEW
Severity: normal
Priority: P2
Component: POI Overall
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 34971
--> https://bz.apache.org/bugzilla/attachment.cgi?id=34971&action=edit
Very simple example with rank function
When a cell contains a formula with an array of values, the evaluation of the
cell is not completed and an exception is thrown.
Here is an example formula: =RANK(A3;(B1;B4;B6);1) (Please see attachment)
Exception in thread "main" java.lang.IllegalStateException: evaluation stack
not empty
at
org.apache.poi.ss.formula.WorkbookEvaluator.evaluateFormula(WorkbookEvaluator.java:539)
at
org.apache.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:290)
at
org.apache.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:232)
at
org.apache.poi.xssf.usermodel.BaseXSSFFormulaEvaluator.evaluateFormulaCellValue(BaseXSSFFormulaEvaluator.java:65)
at
org.apache.poi.ss.formula.BaseFormulaEvaluator.evaluate(BaseFormulaEvaluator.java:101)
--
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]