Source code window error
Raj
Posts: 2
Hi,
When im moving mouse pointer to hit count and time area of Source Code window, im getting this error.
************* Exception Text **************
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'fw'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.ToolTip.get_CreateParams()
at System.Windows.Forms.ToolTip.CreateHandle()
at System.Windows.Forms.ToolTip.Hide(IWin32Window win)
at RedGate.Profiler.UI.SourceCodeControl._1(Object , MouseEventArgs )
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam).
Any suggestions?
Cheers
Raj
When im moving mouse pointer to hit count and time area of Source Code window, im getting this error.
************* Exception Text **************
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'fw'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.ToolTip.get_CreateParams()
at System.Windows.Forms.ToolTip.CreateHandle()
at System.Windows.Forms.ToolTip.Hide(IWin32Window win)
at RedGate.Profiler.UI.SourceCodeControl._1(Object , MouseEventArgs )
at System.Windows.Forms.Control.OnMouseMove(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseMove(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam).
Any suggestions?
Cheers
Raj
Comments
Sorry, but no. This window shouldn't have any tooltips in it at any rate. Please confirm that you're using version 3.1 of ANTS Profiler.
I'll keep looking into it, but at first glance it looks like a bug in Windows Forms.