## Overview
- Version: 10.0.5.0
- Exception: `System.IndexOutOfRangeException`
- DateTime: 2024/8/29 11:17:44
- Email: 2289183745@qq.com
- Tags: #CN, #COLLABORATION
## Exception
```json
{
"ClassName": "System.IndexOutOfRangeException",
"Message": "行索引非法:39 (必须在-1 和30之间)。",
"Data": {
"$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
"System.Object": null
},
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at GrapeCity.Windows.SpreadSheet.Data.Cells.CheckRowIndexBounds(Int32 row, SheetArea sheetArea)
at GrapeCity.Windows.SpreadSheet.Data.Cells.get_Item(Int32 row, Int32 column)
at nt.ConvertDataSeries(SpreadDataSeries a, DataSeries b, Worksheet c, Boolean d)
at nt.cvs(SpreadChart a, ChartMetadata b, Worksheet c, Boolean d)
at nt.ConvertToChartModel(SpreadChart spreadChart, Worksheet worksheet, Boolean justForPaint)
at mm.GenerateChartModel(SpreadChart spreadChart, Worksheet sheet, Int32 index, Boolean justForPaint)
at Forguncy.Common.ChartPreviewer.GetChartImage(SpreadChart chart, Worksheet sheet)
at Forguncy.Common.ChartPreviewer.GetChartImage(SpreadChart chart)
at aq.gk(SpreadChart a, Size b)
at GrapeCity.Windows.SpreadSheet.UI.GcSpreadSheet.AwaitAllPreviewTasks()
at Forguncy.DocExport.ExportPictureWorker.ExportSheetToBitmapAsync(SpreadControl spread)
at Forguncy.DocExport.ExportPictureWorker.ExportPictureAsync(String saveDataStr, String pageName, String savePath, Boolean showGridLine)
at Forguncy.DocExport.ScreenShotPageInDesignerAsync(String saveData, String pageName, String savePath, Boolean showGridLine)
at Forguncy.DocExport.PageDocAsync(PageBase page, List`1 listViews, Dictionary`2 pagePermissionDictionary)
at Forguncy.DocExport.FillPagesInfoAsync(ProjectDoc projectDoc, TaskInfo taskInfo, Int32 startProgress, Int32 endProgress)
at Forguncy.DocExport.FillDocAsync(ProjectDoc projectDoc, TaskInfo taskInfo)
at Forguncy.DocExport.ExportAsync(String filePath, TaskInfo taskInfo, String exportedSheetIndex)
at Forguncy.DocExport.<>c__DisplayClass8_0.<<ExportAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at WPFBase.Common.TaskInfoHelper.CreateAThreadCrossedAutoClosedWindowAsync(TaskInfo taskInfo, Window owner, Func`1 action)
at Forguncy.DocExport.ExportAsync(String filePath, TaskInfo taskInfo, String exportedSheetIndex)
at Forguncy.Views.RibbonView.exportToDocButton_Click(Object sender, RoutedEventArgs e)
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": null,
"HResult": -2146233080,
"Source": "GrapeCity.WPF.SpreadSheet.Data",
"WatsonBuckets": null
}
```
## EventLog
- 11:15:58 `MouseL`:Window:suxinemes-master - 活字格 (10.0.5.0)->Button:导出文档->ContentControl:导出文档->导出文档
- 11:15:52 `MouseL`:Window:suxinemes-master - 活字格 (10.0.5.0)->RibbonView->文件
- 11:15:42 `MouseL`:Window:活字格 (10.0.5.0)->https://e.coding.net/zijian2018/suxinbandaoti/suxinemes.git
## ActionList
|