Exception:关闭窗口后,无法设置可见性,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。

报错信息

InvalidOperationException: 关闭窗口后,无法设置可见性,也无法调用 Show、ShowDialogor 或 WindowInteropHelper.EnsureHandle。
StackTrace:
   at System.Windows.Window.VerifyCanShow()
   at System.Windows.Window.Show()
   at Quicker.Domain.Services.Actions.ActionEditorSessionService.ShowEditor(Window editor) in D:\source\repos\quicker\quickerorg\Quicker\QuickerPc\Quicker\Modules\ActionManagement\Services\ActionEditorSessionService.cs:line 385
   at Quicker.Domain.Services.Actions.ActionEditorSessionService.OpenXActionEditor(ActionEditorSessionRequest request, ActionEditorSurfaceKind surfaceKind) in D:\source\repos\quicker\quickerorg\Quicker\QuickerPc\Quicker\Modules\ActionManagement\Services\ActionEditorSessionService.cs:line 156
   at Quicker.Domain.Services.Actions.ActionEditorSessionService.Open(ActionEditorSessionRequest request) in D:\source\repos\quicker\quickerorg\Quicker\QuickerPc\Quicker\Modules\ActionManagement\Services\ActionEditorSessionService.cs:line 83
   at Quicker.Domain.Services.Actions.ActionEditorLauncher.EditAction(ActionPage page, Int32 row, Int32 col, ActionItem2 actionItem2, Nullable`1 newActionType, EditActionParam editParam, Boolean forceReadonly, Boolean forceSave) in D:\source\repos\quicker\quickerorg\Quicker\QuickerPc\Quicker\Modules\ActionManagement\Services\ActionEditorLauncher.cs:line 157
   at Quicker.Domain.Services.Actions.ActionEditorLauncher.EditActionById(String actionId, EditActionParam editParam, Boolean forceReadOnly, Window owner) in D:\source\repos\quicker\quickerorg\Quicker\QuickerPc\Quicker\Modules\ActionManagement\Services\ActionEditorLauncher.cs:line 447
   at Quicker.Domain.Services.Actions.ActionEditorLauncher.EditActionById(Guid actionId, EditActionParam editParam, Boolean forceReadOnly, Window owner) in D:\source\repos\quicker\quickerorg\Quicker\QuickerPc\Quicker\Modules\ActionManagement\Services\ActionEditorLauncher.cs:line 501
   at Quicker.Domain.Services.ActionContextMenuBuilder.<>c__DisplayClass28_0.<CreateContextMenuForActionButton>b__48(Object sender, RoutedEventArgs args) in D:\source\repos\quicker\quickerorg\Quicker\QuickerPc\Quicker\Modules\ActionExecution\Services\ActionContextMenuBuilder.cs:line 1332
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   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)

 

解决方法

暂无解决方案。

相关信息
0 查看
11小时54分钟前
Quicker版本
版本 反馈次数
1.100.0 1