Skip to content

Instantly share code, notes, and snippets.

@rzaitov
Created July 1, 2014 18:26
Show Gist options
  • Save rzaitov/2916c4a17f5cdc35b184 to your computer and use it in GitHub Desktop.
Save rzaitov/2916c4a17f5cdc35b184 to your computer and use it in GitHub Desktop.
System.MemberAccessException: Cannot create an instance of MonoTouch.AddressBook.ABRecord because it is an abstract class
at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007f] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:525
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:556
at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:62
at MonoTouch.ObjCRuntime.Runtime.ConstructINativeObject[INativeObject] (IntPtr ptr, Boolean owns, System.Type type, MissingCtorResolution missingCtorResolution) [0x0004a] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:453
at MonoTouch.ObjCRuntime.Runtime.GetINativeObject (IntPtr ptr, Boolean owns, System.Type target_type, System.Type implementation) [0x000dc] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:653
at MonoTouch.ObjCRuntime.Runtime.GetINativeObject_Dynamic (IntPtr ptr, Boolean owns, IntPtr type_ptr) [0x0000c] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:817
at at (wrapper native-to-managed) MonoTouch.ObjCRuntime.Runtime:GetINativeObject_Dynamic (intptr,int,intptr)
at at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:39
at PeoplePicker.Application.Main (System.String[] args) [0x00008] in /Users/rzaitov/Documents/Apps/A_Xamarin/private-samples/ios8/PeoplePicker/PeoplePicker/Main.cs:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment