Exception:“System.Windows.Forms.NativeMethods”的类型初始值设定项引发异常。未将对象引用设置到对象的实例。

报错信息

TypeInitializationException: “System.Windows.Forms.NativeMethods”的类型初始值设定项引发异常。
--TypeName: System.Windows.Forms.NativeMethods
StackTrace:
   在 System.Windows.Forms.NativeWindow.CreateHandle(CreateParams cp)
   在 System.Windows.Forms.NotifyIcon.UpdateIcon(Boolean showIconInTray)
   在 System.Windows.Forms.NotifyIcon.set_Visible(Boolean value)
   在 Quicker.Utilities.UI.NotifyIconWrapper.GYsv2sq0ykg()
   在 Quicker.Utilities.UI.NotifyIconWrapper..ctor(PopupWindow mainWindow, RunningActionMgr runningActionMgr, TextFloatPanelMgr textFloatPanelMgr)
   在 Quicker.View.PopupWindow.<Window_OnLoaded>d__131.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)

NullReferenceException: 未将对象引用设置到对象的实例。
StackTrace:
   在 System.Windows.Forms.NativeMethods..cctor()

 

解决方法

暂无解决方案。

相关信息
0 查看
2025-05-10 22:04
Quicker版本
版本 反馈次数