Index was outside the bounds of the array.

Stimulsoft Reports.NET discussion
Post Reply
J_S
Posts: 49
Joined: Mon Sep 22, 2008 3:10 am
Location: Netherlands

Index was outside the bounds of the array.

Post 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
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Index was outside the bounds of the array.

Post 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.
Post Reply