[Mono-bugs] [Bug 393363] New: ICanS - crashes when logging starts

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 21 17:51:39 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=393363


           Summary: ICanS - crashes when logging starts
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: i386
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Windows.Forms
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: rhowell at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Steps to reproduce:
 - run ICanSpy
 - File -> Select Form...  (select another .net app)
 - File -> Select Events  (choose all events for the main for of the app)
 - File -> Start Logging

Expected results:
 - App being inspected should open and run.
 - events should be logged to the ICanSpy form.

Actual results:
 - ICanSpy crashes immediately.

How often does this happen? Always


debug log:

Unhandled Exception: System.Reflection.TargetInvocationException: Exception has
been thrown by the target of an invocation. --->
System.Reflection.TargetException: Unable to invoke an invalid target.
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] 
  at System.Reflection.EventInfo.AddEventHandler (System.Object target,
System.Delegate handler) [0x00000] 
  at EventDelegates.AttachEvent_System_EventHandler_Load (System.Object ,
System.Reflection.EventInfo ) [0x00000] 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  --- End of inner exception stack trace ---
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] 
  at EventTestDriver.Utils.StartListening (System.Windows.Forms.Form formTest,
System.Windows.Forms.TreeView tvEvents, Boolean orderedByControl) [0x00000] 
  at EventTestDriver.FormMain.menuLoggingStatus_Click (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Windows.Forms.MenuItem.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.MenuItem.PerformClick () [0x00000] 
  at (wrapper remoting-invoke-with-check)
System.Windows.Forms.MenuItem:PerformClick ()
  at System.Windows.Forms.MenuTracker.OnMouseUp
(System.Windows.Forms.MouseEventArgs args) [0x00000] 
  at System.Windows.Forms.Control.ProcessActiveTracker
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.ScrollableControl.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.ContainerControl.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] 
  at System.Windows.Forms.XplatUICarbon.DispatchMessage
(System.Windows.Forms.MSG& msg) [0x00000] 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm)
[0x00000] 
  at EventTestDriver.FormMain.Main () [0x00000]


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list