找回密码
 立即注册

QQ登录

只需一步,快速开始

梦想去旅行
金牌服务用户   /  发表于:2023-4-27 16:20  /   查看:988  /  回复:1



在设计器创建一个组件,插入图表(折线图/饼图/雷达图...),设置数据源,保存后再打开,或设置保存的时候,会出现如上异常!


  1. 1
  2. Tid:1 2023/4/27 16:17:16: An unhandled exception happed.
  3. Tid:1 2023/4/27 16:17:16: Assembly: Forguncy, Version=8.0.102.0, Culture=neutral, PublicKeyToken=967100671921c115 -----------{
  4.   "ClassName": "System.ArgumentOutOfRangeException",
  5.   "Message": "索引超出范围。必须为非负值并小于集合大小。",
  6.   "Data": {
  7.     "$type": "System.Collections.ListDictionaryInternal, mscorlib",
  8.     "System.Object": null
  9.   },
  10.   "InnerException": null,
  11.   "HelpURL": null,
  12.   "StackTraceString": "   在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
  13.    在 GrapeCity.Windows.SpreadSheet.Data.SpreadChartElementCollection`1.get_Item(Int32 index)
  14.    在 Forguncy.Model.a.o.g()
  15. --- 引发异常的上一位置中堆栈跟踪的末尾 ---
  16.    在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  17.    在 Forguncy.Model.a.l.f()
  18. --- 引发异常的上一位置中堆栈跟踪的末尾 ---
  19.    在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  20.    在 Forguncy.Model.a.q.e()
  21. --- 引发异常的上一位置中堆栈跟踪的末尾 ---
  22.    在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  23.    在 Forguncy.Model.a.p.d()
  24. --- 引发异常的上一位置中堆栈跟踪的末尾 ---
  25.    在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
  26.    在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
  27.    在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
  28.   "RemoteStackTraceString": null,
  29.   "RemoteStackIndex": 0,
  30.   "ExceptionMethod": "8
  31. ThrowArgumentOutOfRangeException
  32. mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
  33. System.ThrowHelper
  34. Void ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource)",
  35.   "HResult": -2146233086,
  36.   "Source": "mscorlib",
  37.   "WatsonBuckets": null,
  38.   "ParamName": "index",
  39.   "ActualValue": null
  40. }

  41. CurrentMethodName: App_DispatcherUnhandledException
复制代码



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

1 个回复

倒序浏览
Lay.Li悬赏达人认证 活字格认证
超级版主   /  发表于:2023-4-27 17:29:52
沙发
大佬,有没有复现步骤呢,您是怎么操作出现这个问题的呢,方便的话建议您可以发一个demo上来,这样我们也可以更好的去调查这个问题
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部