Bug 4803 - An unhandled exception has occured. Terminating MonoDevelop? True System.MissingMethodException: No constructor found for MonoMac.Foundation.NSObject+MonoMac_Disposer::.ctor(System.IntPtr)
Summary: An unhandled exception has occured. Terminating MonoDevelop? True System.Miss...
Status: RESOLVED DUPLICATE of bug 5318
Alias: None
Product: MonoMac
Classification: Desktop
Component: Bindings ()
Version: GIT
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-05-01 11:46 UTC by Marek Safar
Modified: 2012-06-20 13:14 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED DUPLICATE of bug 5318

Description Marek Safar 2012-05-01 11:46:36 UTC
An unhandled exception has occured. Terminating MonoDevelop? True
System.MissingMethodException: No constructor found for MonoMac.Foundation.NSObject+MonoMac_Disposer::.ctor(System.IntPtr)
  at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00180] in /Users/marek/git/mono/mcs/class/corlib/System/Activator.cs:299 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] in /Users/marek/git/mono/mcs/class/corlib/System/Activator.cs:234 
  at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in /Users/marek/git/mono/mcs/class/corlib/System/Activator.cs:229 
  at MonoMac.ObjCRuntime.Runtime.GetNSObject (IntPtr ptr) [0x0006d] in /Users/marek/git/monodevelop/external/monomac/src/ObjCRuntime/Runtime.cs:137 
  at MonoMac.ObjCRuntime.NSObjectMarshaler`1[MonoMac.Foundation.NSObject].MarshalNativeToManaged (IntPtr handle) [0x00000] in /Users/marek/git/monodevelop/external/monomac/src/ObjCRuntime/NSObjectMarshaler.cs:33 
  at (wrapper native-to-managed) object:[MonoMac.Foundation.NSObject:IntPtr NativeRetain()] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector)
  at (wrapper managed-to-native) MonoMac.ObjCRuntime.Messaging:void_objc_msgSend_intptr_intptr_bool (intptr,intptr,intptr,intptr,bool)
  at MonoMac.Foundation.NSObject.Dispose (Boolean disposing) [0x000aa] in /Users/marek/git/monodevelop/external/monomac/src/Foundation/NSObject.cs:138 
  at MonoMac.Foundation.NSObject.Finalize () [0x00000] in /Users/marek/git/monodevelop/external/monomac/src/Foundation/NSObject.cs:86
Comment 1 Bojan Rajkovic [MSFT] 2012-06-20 13:14:06 UTC

*** This bug has been marked as a duplicate of bug 5318 ***