以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  【这个异常是什么问题】  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=99709)

--  作者:ycli368
--  发布时间:2017/4/25 13:56:00
--  【这个异常是什么问题】
不是100%出现

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.NullReferenceException: 未将对象引用设置到对象的实例。
   在 System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   在 System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   在 Foxtable.O  o OoO.O0o0_0o_(Exception A_0, String A_1)
   在 Foxtable.O  O oO .o____O0_(Assembly A_0, String A_1, Object[] A_2, Boolean A_3, String A_4, Boolean A_5)
   在 Foxtable.o0 O OO .O_oO0o0_(Object A_0, ClickEventArgs A_1)
   在 C1.Win.C1Command.C1Command.OnClick(ClickEventArgs e)
   在 C1.Win.C1Command.C1Command.Invoke(ClickEventArgs e)
   在 C1.Win.C1Command.bn.a(C1CommandLink A_0, a A_1)
   在 C1.Win.C1Command.bn.c(MouseEventArgs A_0)
   在 C1.Win.C1Command.MenuPopup.OnMouseUp(MouseEventArgs e)
   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
   在 System.Windows.Forms.Form.WndProc(Message& m)
   在 C1.Win.C1Command.MenuPopup.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


--  作者:有点色
--  发布时间:2017/4/25 14:04:00
--  

 

要看你具体执行什么操作,执行哪句代码导致的错误?


--  作者:ycli368
--  发布时间:2017/4/25 14:12:00
--  
还没跟踪到代码,概率性的,不好跟踪
--  作者:有点色
--  发布时间:2017/4/25 14:31:00
--  
以下是引用ycli368在2017/4/25 14:12:00的发言:
还没跟踪到代码,概率性的,不好跟踪

 

关键要看你做了什么操作。不可能无缘无故跳出错误的吧?你是不是用到了【非主流】的开发方式?