【异常报告】+ (版本1.33.38) + CoreWebView2 members cannot be accessed after the WebView2 control is disp

异常报告 · 1005 次浏览
爱尘 创建于 2022-07-03 19:37

最近在使用公式识别后关闭公式识别预览窗口时频繁出现软件崩溃的情况,软件提示遇到了一个未能捕获了异常,调试信息如下:

InvalidOperationException
   在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocus(CoreWebView2MoveFocusReason reason)
   在 Microsoft.Web.WebView2.Wpf.WebView2.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndHost.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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)

COMException
组或资源的状态不是执行请求操作的正确状态。 (异常来自 HRESULT:0x8007139F)
   在 Microsoft.Web.WebView2.Core.Raw.ICoreWebView2Controller.MoveFocus(COREWEBVIEW2_MOVE_FOCUS_REASON reason)
   在 Microsoft.Web.WebView2.Core.CoreWebView2Controller.MoveFocus(CoreWebView2MoveFocusReason reason)


回复内容
CL 2022-07-03 21:31
#1

你好,打开这里看一下Webview的版本号。

另外请提供一下Windows 和 Edge 的版本号信息,我试试能不能重现一下。


回复主贴