Page 1 of 1

Index was outside the bounds of the array.

Posted: Thu Oct 27, 2011 6:25 am
by J_S
Hello,

From one of our reports, I get the following exception:

2.2 Module Name : mscorlib
2.3 Module Version : 2.0.0.0
2.4 Type : IndexOutOfRangeException
2.5 Message : Index was outside the bounds of the array.
2.6 Source : mscorlib
2.7 Function : get_Chars
2.8 Stacktrace : at System.Text.StringBuilder.get_Chars(Int32 index)
at Stimulsoft.Report.Export.StiPdfExportService.RenderText(StiPdfData pp)
at Stimulsoft.Report.Export.StiPdfExportService.ExportPdf(StiReport report, Stream stream, StiPdfExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, StiExportService exportService, Stream stream, StiExportSettings settings)
at Stimulsoft.Report.StiReport.ExportDocument(StiExportFormat exportFormat, Stream stream, StiExportSettings settings)
at ReportGenerator.GetYearPlanReport(YearPlan yearPlan, Employee yearplanEmployee, Employee currentEmployee)

With other reports of the same type (the same mrt file), the report export goes fine.

Do you have any idea how to solve this or how to see what is actually the cause of this problem?

Best regards

Index was outside the bounds of the array.

Posted: Fri Oct 28, 2011 6:16 am
by Ivan
Hello,

We made some improvements in that direction.
Please check the latest prerelease build and let us know about the result.
If the issue is still present, please send to us a mrt file with data, which reproduce the issue, for analysis.

Thank you.