[Mono-bugs] [Bug 340913] New: Random "System.MissingMethodException: Constructor not found. Class: Cocoa.Menu"
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Nov 11 07:36:49 EST 2007
https://bugzilla.novell.com/show_bug.cgi?id=340913
Summary: Random "System.MissingMethodException: Constructor not
found. Class: Cocoa.Menu"
Product: Cocoa#
Version: unspecified
Platform: Other
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Bindings.
AssignedTo: gnorton at novell.com
ReportedBy: mh at elitedev.com
QAContact: mono-bugs at ximian.com
Found By: ---
the below exception happens quite frequently on Leopard, in Cocoa# apps that
were working fine on Tiger.
one sure way to repro:
- new Cocoa# app
- drop a "Text View" (17th ite on the Inputs & Values palette) & paste some
text in
- (no need to bind it)
- run app
- focus text view and press cursor-left
(typing and other actions do NOT trigger the bug)
=> app disappears immediately, with below stack dump
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] Unhandled
Exception: System.Reflection.TargetInvocationException: Exception has been
thrown by the target of an invocation. ---> System.MissingMethodException:
Constructor not found. Class: Cocoa.Menu
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at
System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr,
System.Reflection.Binder binder, System.Object[] args,
System.Globalization.CultureInfo culture, System.Object[] activationAttributes)
[0x00000]
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at
System.Activator.CreateInstance (System.Type type, System.Object[] args,
System.Object[] activationAttributes) [0x00000]
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at
System.Activator.CreateInstance (System.Type type, System.Object[] args)
[0x00000]
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at
Cocoa.Object.FromIntPtr (IntPtr from) [0x00000]
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at
Cocoa.ObjCInterop.Dispatch (IntPtr objc_class_ptr, IntPtr objc_selector,
System.Object[] arguments) [0x00000]
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at
25b61eaa-4a60-4c4d-be52-b3d64ab271f9.Dispatch (IntPtr , IntPtr ) [0x00000]
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at (wrapper
native-to-managed) 25b61eaa-4a60-4c4d-be52-b3d64ab271f9:Dispatch
(intptr,intptr)
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at <0x00000>
<unknown method>
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at (wrapper
managed-to-native) System.Void_System.IntPtr_System.IntPtr:objc_msgSend
(intptr,intptr)
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at <0x00000>
<unknown method>
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] at (wrapper
managed-to-native) System.Reflection.MonoMethod:InternalInvoke
(object,object[])
11/11/07 12:28:22 PM [0x0-0x83083].com.MethodConverter[1755] 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 ---
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list