Aspose Cells - Invalid Row Index

Recently we got a above mentioned issue with below stack trace. Is there was a to find what exactly is the row index its trying to set?

Caused by: java.lang.IllegalArgumentException: Invalid row index.
at com.aspose.cells.zalc.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.Cells.getRowHeight(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zir.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zir.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zir.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zti.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zti.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zti.d(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zti.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zti.k(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zti.m(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zti.g(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zti.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zum.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zum.b(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zum.k(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zum.c(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.zul.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.Workbook.a(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.Workbook.save(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]
at com.aspose.cells.Workbook.save(Unknown Source) ~[aspose-cells-8.7.0.jar:8.7.0.0]

@lyash,

Could you please try using our latest version/fix: Aspose.Cellsfor Java v23.8.

If you still find the issue with latest version/fix (Aspose.Cellsfor Java v23.8), I am afraid, we need your sample code and template file(s) to reproduce the issue on our end. By checking the stacktrace, it is hard to evaluate what’s wrong with the APIs to save the file or with your sample code that you are using.

Is there anything else possible as changing a version would require a full lot of extensive testing? We cracked it down that while it tries to create a sheet with chart in it is breaking. DOes this help to drill down a bit more?

@lyash,

We apologize for the inconvenience, but it may be difficult to evaluate your issue based solely on the stack trace without your sample code and resource file(s). It would be best if you could upgrade to the latest API set of Aspose.Cells for Java, as we have made several enhancements to many features and included other fixes over the years. The newer versions of the APIs are more robust, efficient, and feature-rich. Additionally, if you encounter any issues using the latest version or require specific features/enhancements, they would only be available in the latest API set.