Workbook CalculateFormula StackOverflowException

Hi there,

We’re seeing a StackOverflowException thrown when calling CalculateFormula on the attached sheet.

The following code:

Workbook w = new Workbook(“StackOverflowException.xlsx”);
w.CalculateFormula();

Causes the following exception:

System.StackOverflowException: ‘Exception of type ‘System.StackOverflowException’ was thrown.’

It seems the problem was introduced in v20.7.0 - the last version the calculation works without an exception is v20.6.0.

Could someone investigate this for us?

StackOverflow.zip (4.7 MB)

@WaterOutlook,
We have observed the issue and logged it in our database for further investigation. We will write back here once any update is ready for sharing.

This issue is logged as:
CELLSNET-47841 - StackOverflowException with xlsx file

@WaterOutlook,
This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@WaterOutlook
Please try the latest fix 21.1.4.
Aspose.Cells21.1.4 For .Net2_AuthenticodeSigned.Zip (5.5 MB)
Aspose.Cells21.1.4 For .Net4.0.Zip (5.5 MB)
Aspose.Cells21.1.4 For .NetStandard20.Zip (5.5 MB)

The issues you have found earlier (filed as CELLSNET-47841) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao