复现是随机出现的,我重新做个demo也不一定能复现,但是在正式环境运行报错如下:
在执行导出操作时,未知的异常出现。请再次尝试。
- {
- "ClassName": "System.AggregateException",
- "Message": "One or more errors occurred.",
- "Data": null,
- "InnerException": {
- "$type": "System.NullReferenceException, System.Private.CoreLib",
- "ClassName": "System.NullReferenceException",
- "Message": "Object reference not set to an instance of an object.",
- "Data": null,
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": " at Forguncy.Server2.Controllers.Export.ae.e()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2147467261,
- "Source": "Forguncy.Server2",
- "WatsonBuckets": null
- },
- "HelpURL": null,
- "StackTraceString": " at Forguncy.Server2.Controllers.Export.ae.f()
- at Forguncy.Server2.Controllers.Export.ae.d()
- at Forguncy.Server2.Controllers.a.a(String A_0, List`1 A_1)
- at Forguncy.Server2.Controllers.HomeController.a(Object A_0)",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2146233088,
- "Source": "Forguncy.Server2",
- "WatsonBuckets": null,
- "InnerExceptions": {
- "$type": "System.Exception[], System.Private.CoreLib",
- "$values": [
- {
- "$type": "System.NullReferenceException, System.Private.CoreLib",
- "ClassName": "System.NullReferenceException",
- "Message": "Object reference not set to an instance of an object.",
- "Data": null,
- "InnerException": null,
- "HelpURL": null,
- "StackTraceString": " at Forguncy.Server2.Controllers.Export.ae.e()",
- "RemoteStackTraceString": null,
- "RemoteStackIndex": 0,
- "ExceptionMethod": null,
- "HResult": -2147467261,
- "Source": "Forguncy.Server2",
- "WatsonBuckets": null
- }
- ]
- }
- }
- CurrentMethodName: ExportToExcelThread
复制代码
|