未处理的异常错误 - 连接电话 [英] Unhandled Exception Error - Connecting Phone
问题描述
大家好,
Hello everyone,
我试图连接我的手机(P20 Pro)到电脑并收到BSOD。更新主板固件后,BSOD不再出现,但我收到了此错误。有关如何解决此问题的任何线索?
I tried to connect my phone (P20 Pro) to the computer and received BSOD. After I updated motherboard firmware, BSOD no longer appear but I got this error instead. Any clue on how to resolve this?
有关调用的详细信息,请参阅此消息的结尾
See the end of this message for details on invoking
实时(JIT)调试而不是此对话框。
just-in-time (JIT) debugging instead of this dialog box.
**************异常文本**************
************** Exception Text **************
System.ObjectDisposedException:无法访问已处置的对象。
System.ObjectDisposedException: Cannot access a disposed object.
对象名称: 'USBDevicePluginForm'。
Object name: 'USBDevicePluginForm'.
在System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Control.CreateHandle()
在System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
在WUL.Forms.SkinForm.CreateHandle()
at WUL.Forms.SkinForm.CreateHandle()
在System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.get_Handle()
在System.Windows.Forms.Control.SetVisibleCore(布尔值)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
在System.Windows.Forms.Form.SetVisibleCore(布尔值)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
在System.Windows.Forms.Control.Show()
at System.Windows.Forms.Control.Show()
at a87.c.a()
at a87.c.a()
在System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
在System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Threading.ExecutionContext.runTryCode(Object userData)
在System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode代码,CleanupCode backoutCode,Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
在System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext,ContextCallback回调,对象状态)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
在System.Threading.ExecutionContext.Run(ExecutionContext executionContext,ContextCallback回调,对象状态)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
在System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
在System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
**************已加载的程序集*********** ***
************** Loaded Assemblies **************
mscorlib
汇编版本:2.0.0.0
Assembly Version: 2.0.0.0
Win32版本:2.0.50727.8784(QFE.050727-8700)
Win32 Version: 2.0.50727.8784 (QFE.050727-8700)
CodeBase:file:/// C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
-------------- --------------------------
----------------------------------------
MGNotification
MGNotification
  ;  汇编版本:8.6.0.106
Assembly Version: 8.6.0.106
Win32版本:8.6.0.106
Win32 Version: 8.6.0.106
CodeBase:file:/// C:/ Program%20Files%20(x86)/Wondershare/MobileGo/MGNotification.exe
CodeBase: file:///C:/Program%20Files%20(x86)/Wondershare/MobileGo/MGNotification.exe
------------- ---------------------------
----------------------------------------
配置
   汇编版本:3.0.0.0
Assembly Version: 3.0.0.0
Win32版本:3.0.0.0
Win32 Version: 3.0.0.0
CodeBase:file:/// C:/ Program%20Files%20(x86)/Wondershare/MobileGo/Configuration.DLL
CodeBase: file:///C:/Program%20Files%20(x86)/Wondershare/MobileGo/Configuration.DLL
------------- ---------------------------
----------------------------------------
WUL.Ctrls
WUL.Ctrls
   汇编版本:2.3.0.114
Assembly Version: 2.3.0.114
Win32版本:2.3.0.114
Win32 Version: 2.3.0.114
CodeBase:file:/// C:/ Program%20Files%20(x86)/Wondershare/MobileGo/WUL.Ctrls.DLL
CodeBase: file:///C:/Program%20Files%20(x86)/Wondershare/MobileGo/WUL.Ctrls.DLL
----------- -----------------------------
----------------------------------------
系统
   汇编版本:2.0.0.0
Assembly Version: 2.0.0.0
Win32版本:2.0.50727.8770(QFE.050727-8700)
Win32 Version: 2.0.50727.8770 (QFE.050727-8700)
CodeBase:file:/// C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
推荐答案
你的类型是什么项目是?
What the type of your project is?
>> System.ObjectDisposedException:无法访问已处置的对象。
>>System.ObjectDisposedException: Cannot access a disposed object.
您在哪个项目中收到此消息?请在此处提供相关代码以获取更多详细信息。
Where did you get this message in your project? Please provide the related code here for more details.
我想这是因为您使用了某些处置对象或
其他类似的错误。
I guess it is because you used some disposed objects or other similar mistakes.
1,尝试处理你的对象
使用后 :
1, Try to dispose your objects after use:
//use yourObject
//...
yourObject.Dispose();
2,尝试使用using块来放置代码:
2, Try to use a using block to put your code:
using ()
{
//use yourObject...
}
问候,
Frankie
这篇关于未处理的异常错误 - 连接电话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!