Index was outside the bounds of the array.
Posted: Thu Oct 27, 2011 6:25 am
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
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