kevinchang 发表于 2024-4-21 10:24:22

测试运行发生异常通报

按正常运行没事,control + F5 运行就会跳出



## Overview
- Version: 7.0.4.0
- Exception: `System.AggregateException`
- DateTime: 2024/4/21 10:13:20
- Email: 1487183942@qq.com
- Tags: #CN

## Exception
```json
{
"ClassName": "System.AggregateException",
"Message": "发生一个或多个错误。",
"Data": {
    "$type": "System.Collections.ListDictionaryInternal, mscorlib",
    "System.Object": null
},
"InnerException": {
    "$type": "System.IO.IOException, mscorlib",
    "ClassName": "System.IO.IOException",
    "Message": "无法成功完成操作,因为文件包含病毒或潜在的垃圾软件。
",
    "Data": null,
    "InnerException": null,
    "HelpURL": null,
    "StackTraceString": "   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   在 CommonUtilities.j.a(String A_0, String A_1)
   在 Forguncy.GeneratePage.GeneratePages.<>c__DisplayClass12_0.<GenerateOnePage>b__0()
   在 System.Threading.Tasks.Task.Execute()",
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": "8
WinIOError
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.IO.__Error
Void WinIOError(Int32, System.String)",
    "HResult": -2147024671,
    "Source": "mscorlib",
    "WatsonBuckets": null
},
"HelpURL": null,
"StackTraceString": "   在 System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken)
   在 Forguncy.GeneratePage.GeneratePages.a(PublishType A_0, TaskInfo A_1, PublishSettingsViewModel A_2)
   在 Forguncy.GeneratePage.GeneratePages.GenerateAllPages(PublishType publishType, TaskInfo taskInfo, PublishSettingsViewModel settings)
   在 Forguncy.Views.RibbonView.<BrowserHomeExcutedWithProgressbarAsync>d__366.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Forguncy.Views.RibbonView.<>c__DisplayClass366_0.<<BrowserHomeExcutedWithProgressbarAsync>b__0>d.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 WPFBase.Common.TaskInfoHelper.<CreateAThreadCrossedAutoClosedWindowAsync>d__8.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Forguncy.Views.RibbonView.<BrowserHomeExcutedWithProgressbarAsync>d__366.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Forguncy.Views.RibbonView.<BrowserHomeExcuted>d__364.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8
WaitAll
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.Threading.Tasks.Task
Boolean WaitAll(System.Threading.Tasks.Task[], Int32, System.Threading.CancellationToken)",
"HResult": -2146233088,
"Source": "mscorlib",
"WatsonBuckets": null,
"InnerExceptions": {
    "$type": "System.Exception[], mscorlib",
    "$values": [
      {
      "$type": "System.IO.IOException, mscorlib",
      "ClassName": "System.IO.IOException",
      "Message": "无法成功完成操作,因为文件包含病毒或潜在的垃圾软件。
",
      "Data": null,
      "InnerException": null,
      "HelpURL": null,
      "StackTraceString": "   在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
   在 CommonUtilities.j.a(String A_0, String A_1)
   在 Forguncy.GeneratePage.GeneratePages.<>c__DisplayClass12_0.<GenerateOnePage>b__0()
   在 System.Threading.Tasks.Task.Execute()",
      "RemoteStackTraceString": null,
      "RemoteStackIndex": 0,
      "ExceptionMethod": "8
WinIOError
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.IO.__Error
Void WinIOError(Int32, System.String)",
      "HResult": -2147024671,
      "Source": "mscorlib",
      "WatsonBuckets": null
      }
    ]
}
}
```

## EventLog
- 10:13:20 `KeyDown`:F5
- 10:12:39 `MouseL`:Window:res240417v1date240417(以上傳).fgcc - 活字格->Spread:R32,C2 ,Page=更新紀錄
- 10:12:37 `KeyDown`:Control+F5
- 10:12:34 `KeyDown`:Control+F5
- 10:12:28 `MouseL`:Window:res240417v1date240417(以上傳).fgcc - 活字格

## ActionList

Joe.xu 发表于 2024-4-21 10:24:23

您好,大概查了一下这个报错,百度上给出了这些原因,楼主可以排查一下,
大概律是机器上的防护




页: [1]
查看完整版本: 测试运行发生异常通报