## Overview
- Version: 10.0.3.0
- Exception: `System.IndexOutOfRangeException`
- DateTime: 2024-07-06 17:06:18
- Email: michael_hc@qq.com
- Tags: #CN
## Exception
```json
{
"ClassName": "System.IndexOutOfRangeException",
"Message": "列数目非法:47 (必须在-1 和46之间)。",
"Data": {
"$type": "System.Collections.ListDictionaryInternal, System.Private.CoreLib",
"System.Object": null
},
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at GrapeCity.Windows.SpreadSheet.Data.Cells.CheckColumnIndexBounds(Int32 column, SheetArea sheetArea)
at Forguncy.Common.SheetExtensions.CorrectListViewInfo(Worksheet sheet, ListViewInfo listViewInfo, Boolean syncColumnSpan)
at Forguncy.Common.SheetExtensions.CorrectAllListViewInfos(Worksheet sheet, Boolean syncColumnSpan)
at bz.qt(String path, Workbook a, PageSaveData b)
at bz.qx(String a, CancellationToken b)
at System.Threading.Tasks.Parallel.<>c__50`1.<<ForEachAsync>b__50_0>d.MoveNext()
--- End of stack trace from previous location ---
at fn.ForEachAsync[TSource](IEnumerable`1 source, Func`3 body)
at bz.FillWorkSheetAsync()
at by.FillWorkSheetAsync()
at ft.FillWorkSheetAsync()
at al.dzr(GcSpreadSheet a, String b)
at al.a.a.MoveNext()
--- End of stack trace from previous location ---
at WPFBase.Common.TaskInfoHelper.ExecuteWithProgressAsync(Func`2 action, String message, Window owner, TaskInfo taskInfo, Boolean supportCancel)
at WPFBase.Common.TaskInfoHelper.<>c__DisplayClass29_0.<<ExecuteWithProgressAsync>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at WPFBase.Common.TaskInfoHelper.CreateAThreadCrossedAutoClosedWindowAsync(TaskInfo taskInfo, Window owner, Func`1 action)
at WPFBase.Common.TaskInfoHelper.ExecuteWithProgressAsync(Func`2 action, String message, Window owner, TaskInfo taskInfo, Boolean supportCancel)
at al.Read(String excelPath, String workerName)
at am.ke(String a)
at Forguncy.Views.RibbonView.ImportForguncyAsPage_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
- 17:06:15 `MouseL`:Window:活字格 (10.0.3.0)->RibbonView->RibbonGroupBox:导入->Button:活字格文件->Image:/ImportForguncy_32_CN.png
- 17:04:02 `MouseL`:Window:错误报告->点击此处
- 17:03:58 `TextInput`:
- 17:03:58 `KeyDown`:Escape
- 17:03:56 `MouseL`:Window:错误报告->点击此处
- 17:03:48 `TextInput`:
- 17:03:48 `KeyDown`:Alt+System
- 17:03:48 `KeyDown`:Alt+System
- 17:03:33 `MouseL`:Window:错误报告
- 17:03:07 `MouseL`:Window:异常报告内容->TextBox:messageTextBox
- 17:03:05 `MouseL`:Window:错误报告->点击此处
- 17:02:57 `MouseL`:Window:错误报告
- 17:02:44 `MouseL`:Window:活字格 (10.0.3.0)->RibbonView->RibbonGroupBox:导入->Button:活字格文件->Image:/ImportForguncy_32_CN.png
- 17:02:43 `MouseL`:Window:活字格 (10.0.3.0)->RibbonView->RibbonTabItem->ContentControl:数据->数据
- 17:02:42 `MouseL`:Window:活字格 (10.0.3.0)->RibbonView->RibbonTabItem
- 17:02:41 `MouseL`:Window:活字格 (10.0.3.0)->RibbonView->RibbonTabItem->ContentControl:协同->协同
- 17:02:41 `MouseL`:Window:活字格 (10.0.3.0)->RibbonView->RibbonTabItem->ContentControl:发布->发布
- 17:02:40 `MouseL`:Window:活字格 (10.0.3.0)->RibbonView->RibbonTabItem->ContentControl:安全->安全
- 17:02:40 `MouseL`:Window:活字格 (10.0.3.0)->RibbonView->RibbonTabItem
- 17:02:36 `MouseL`:Window:活字格 (10.0.3.0)->Image:/Blank.png
- 17:02:28 `MouseL`:Window:活字格 (10.0.3.0)
## ActionList |