Exception in Chart.calculate() Cannot load from object array because "<parameter2>.ag" is null

In one of the case getting Cannot load from object array because “.ag” is null
stacktrace

com.aspose.cells.bh.b(Unknown Source),
com.aspose.cells.kp.a(Unknown Source),
com.aspose.cells.kw.g(Unknown Source),
com.aspose.cells.ml.a(Unknown Source),
com.aspose.cells.ku.b(Unknown Source),
com.aspose.cells.ku.a(Unknown Source),
com.aspose.cells.Chart.a(Unknown Source),
com.aspose.cells.Chart.calculate(Unknown Source)

I don’t have sample code to reproduce the scenario as of now but could you check what be wrong with Chart object that we are getting this exception calculate()?
Using 24.6 aspose cells version

@VaradS,

Thanks for the exception trace.

We apologize, but without a template Excel file and sample (runnable) code, we may not be able to evaluate your issue precisely and therefore cannot resolve it. Please provide us with your sample code and template Excel file so that we can reproduce the issue on our end. We will then check your issue as soon as possible.