In the TaxReporting report, there is a method called printUndeclaredTaxPeriods, code below:
/// <summary>
/// This method will retrieve if there are any transactions that happened outside
/// the date range specified for the report.
/// </summary>
void printUndeclaredTaxPeriods()
{
TaxReportPeriod taxReportPeriod;
TaxTrans taxTrans_local;
;
while select taxReportPeriod
where taxReportPeriod.FromDate < fromDate
exists join taxTrans_local
where taxTrans_local.TransDate >= taxReportPeriod.FromDate
&& taxTrans_local.TransDate <= taxReportPeriod.ToDate
&& taxTrans_local.TaxPeriod == taxReportPeriod.TaxPeriod
&& taxTrans_local.TaxRepCounter == taxReportPeriod.VersionNum
{
//element.send(taxReportPeriod);
}
}
Everytime this report run, AOS crash.
When I debugged I found that line I commented causing crash.
How can I avoid this process or maybe any explanation for this case so I know what should I do for AOS crash?