Is there way to determine where the calculation causes a overflow?
Hi,
Thanks for your posting and using Aspose.Cells for Java.
We were able to replicate the exception using the following code. However, we cannot tell you at this stage where the calculation caused the overflow. We have logged this issue in our database. We will look into it and resolve this issue if possible. Once, the issue is resolved or we have some other update for you, we will let you know asap.
This issue has been logged as CELLSJAVA-40627.
Java
String filePath = “F:\Shak-Data-RW\Downloads\testcalc-stackoverflow.xls”;
Workbook workbook = new Workbook(filePath);
workbook.calculateFormula();
Exception:
Exception in thread "main" java.lang.StackOverflowError
at java.util.ArrayList.get(Unknown Source)
at com.aspose.cells.RowCollection.a(Unknown Source)
at com.aspose.cells.RowCollection.a(Unknown Source)
at com.aspose.cells.Cells.a(Unknown Source)
at com.aspose.cells.beo.a(Unknown Source)
at com.aspose.cells.beo.A(Unknown Source)
at com.aspose.cells.beo.r(Unknown Source)
.........
at com.aspose.cells.beo.c(Unknown Source)
at com.aspose.cells.beo.a(Unknown Source)
Hi Steven,
Hi Amjad,
Hi Steven,
Thanks for your feedback and using Aspose.Cells.
It is good to know that you were able to sort out this issue. We have closed this thread now. If you encounter any other issue, please feel free to post on our forum, we will look into it and help you asap.