Forum Xamarin.iOS

Crashing Issues After Xamarin Update

TargusSignityTargusSignity INMember
edited April 2014 in Xamarin.iOS

Hi Xamarin,

I am in trouble after update your xamarin studio I am not able handle push notification and redirection on any other web url.
when i try to do these thing I got following Exception :

<Warning>: Unhandled managed exception: Could not initialize an instance of the type 'MonoTouch.Foundation.NSString': the native 'initWithData:encoding:' method returned nil.
It is possible to ignore this condition by setting MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false. (System.Exception)
  at MonoTouch.Foundation.NSObject.InitializeHandle (IntPtr handle, System.String initSelector) [0x00000] in <filename unknown>:0 
  at MonoTouch.Foundation.NSString..ctor (MonoTouch.Foundation.NSData data, NSStringEncoding encoding) [0x00000] in <filename unknown>:0 
  at MonoTouch.Foundation.NSData.ToString () [0x00000] in <filename unknown>:0 
  at System.Convert.ToString (System.Object value, IFormatProvider provider) [0x00000] in <filename unknown>:0 
  at System.Convert.ToString (System.Object value) [0x00000] in <filename unknown>:0 
  at election14.touch.app.AppDelegate.RegisteredForRemoteNotifications (MonoTouch.UIKit.UIApplication application, MonoTouch.Foundation.NSData deviceToken) [0x00000] in <filename unknown>:0 
  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) [0x00000] in <filename unknown>:0 
  at Election.Touch.App.Application.Main (System.String[] args) [0x00000] in <filename unknown>:0 
Sign In or Register to comment.