错误 #2410
已关闭生产检测,点击停止按钮,检测流程无法停止,检测完成,TaskItem列表不为空,但是其中的项为null
描述
024-04-10 10:05:53.278 [Thd =1] Info Default SetSystemStatus Success
2024-04-10 10:06:00.175 [Thd =129] Status Default 所有Task检测流程结束
2024-04-10 10:06:00.305 [Thd =48] Error InspectTask.ContinueWith Error: 未将对象引用设置到对象的实例。
在 Module.Verify.InspectionResultViewModel.<.ctor>b__3_0(TaskItem item) 位置 E:\software\Go-Agent-21.4.0\pipelines\VIS_V4\Modules\Module.Verify\View\FormInspectionResults.xaml.cs:行号 64
在 System.Collections.Generic.List`1.ForEach(Action`1 action)
在 Module.Verify.InspectionResultViewModel..ctor(List`1 items) 位置 E:\software\Go-Agent-21.4.0\pipelines\VIS_V4\Modules\Module.Verify\View\FormInspectionResults.xaml.cs:行号 61
在 Module.Verify.FormInspectionResults..ctor() 位置 E:\software\Go-Agent-21.4.0\pipelines\VIS_V4\Modules\Module.Verify\View\FormInspectionResults.xaml.cs:行号 32
在 Module.Verify.FormInspectionResults.ShowForm() 位置 E:\software\Go-Agent-21.4.0\pipelines\VIS_V4\Modules\Module.Verify\View\FormInspectionResults.xaml.cs:行号 43
在 Module.ProductionInspection.ProductionInspectionModule.<InspectEnded>b__5_0() 位置 E:\software\Go-Agent-21.4.0\pipelines\VIS_V4\Modules\Module.ProductionInspection\ProductionInspectionModule.cs:行号 121
在 System.Windows.Threading.DispatcherOperation.InvokeDelegateCore()
在 System.Windows.Threading.DispatcherOperation.InvokeImpl()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout)
在 System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout)
在 System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
在 System.Windows.Threading.Dispatcher.Invoke(Action callback)
在 Module.ProductionInspection.ProductionInspectionModule.InspectEnded(Boolean isFaulted, Exception ex) 位置 E:\software\Go-Agent-21.4.0\pipelines\VIS_V4\Modules\Module.ProductionInspection\ProductionInspectionModule.cs:行号 119
在 Module.ProductionInspection.ProductionInspectionModule.<ProductInspect>b__3_1(Task t) 位置 E:\software\Go-Agent-21.4.0\pipelines\VIS_V4\Modules\Module.ProductionInspection\ProductionInspectionModule.cs:行号 95
2024-04-10 10:06:00.441 [Thd =3] Info Default m_bIdel
2024-04-10 10:06:01.441 [Thd =17] Error Default ReadDeviceCmd failed.
2024-04-10 10:06:27.865 [Thd =1] Warn Default 当前Server地址:http://10.0.10.100:37701
2024-04-10 10:06:27.867 [Thd =1] Info Default SetSystemStatus:WR DM0 22024-04-10 10:06:27.870 [Thd =1] Info Default SetSystemStatus Success
2024-04-10 10:06:31.820 [Thd =100] Info Default m_bIdel
2024-04-10 10:06:32.817 [Thd =88] Error Default ReadDeviceCmd failed.
2024-04-10 10:06:33.938 [Thd =48] Status Default 所有Task检测流程结束