Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
These are the error messages when running the thaiCrash app in Release mode.
[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] System.ArgumentOutOfRangeException: Not a valid calendar for the given culture.
[MonoDroid] Parameter name: value
[MonoDroid] at System.Globalization.DateTimeFormatInfo.set_Calendar (System.Globalization.Calendar) <0x0024c>
[MonoDroid] at System.Globalization.DateTimeFormatInfo..ctor (System.Globalization.CultureData,System.Globalization.Calendar) <0x0005b>
[MonoDroid] at System.Globalization.CultureInfo.get_DateTimeFormat () <0x0006b>
[MonoDroid] at System.Globalization.CultureInfo.GetFormat (System.Type) <0x0007b>
[MonoDroid] at System.Globalization.DateTimeFormatInfo.get_CurrentInfo () <0x00057>
[MonoDroid] at System.Globalization.DateTimeFormatInfo.GetInstance (System.IFormatProvider) <0x00113>
[MonoDroid] at System.DateTime.ToString (string,System.IFormatProvider) <0x0002f>
[MonoDroid] at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x005b3>
[MonoDroid] at string.Format (System.IFormatProvider,string,object[]) <0x00027>
[MonoDroid] at string.Format (string,object) <0x0004f>
[MonoDroid] at thaiCrash.MainActivity/<OnCreate>c__AnonStorey0.<>m__0 (object,System.EventArgs) <0x00057>
[MonoDroid] at Android.Views.View/IOnClickListenerImplementor.OnClick (Android.Views.View) <0x00047>
[MonoDroid] at Android.Views.View/IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (intptr,intptr,intptr) <0x0005f>
[MonoDroid] at (wrapper dynamic-method) object.e331208e-1a70-4068-913f-6447a6113764 (intptr,intptr,intptr) <0x00043>
[art] JNI RegisterNativeMethods: attempt to register 0 native methods for md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable
[AndroidRuntime] Shutting down VM
[AndroidRuntime] FATAL EXCEPTION: main
[AndroidRuntime] Process: com.companyname.thaicrash, PID: 6735
[AndroidRuntime] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
[AndroidRuntime] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)
[AndroidRuntime] Caused by: java.lang.reflect.InvocationTargetException
[AndroidRuntime] at java.lang.reflect.Method.invoke(Native Method)
[AndroidRuntime] at java.lang.reflect.Method.invoke(Method.java:372)
[AndroidRuntime] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)
[AndroidRuntime] ... 1 more
[AndroidRuntime] Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.ArgumentOutOfRangeException: Not a valid calendar for the given culture.
[AndroidRuntime] Parameter name: value
[AndroidRuntime] at System.Globalization.DateTimeFormatInfo.set_Calendar (System.Globalization.Calendar) <0x0024c>
[AndroidRuntime] at System.Globalization.DateTimeFormatInfo..ctor (System.Globalization.CultureData,System.Globalization.Calendar) <0x0005b>
[AndroidRuntime] at System.Globalization.CultureInfo.get_DateTimeFormat () <0x0006b>
[AndroidRuntime] at System.Globalization.CultureInfo.GetFormat (System.Type) <0x0007b>
[AndroidRuntime] at System.Globalization.DateTimeFormatInfo.get_CurrentInfo () <0x00057>
[AndroidRuntime] at System.Globalization.DateTimeFormatInfo.GetInstance (System.IFormatProvider) <0x00113>
[AndroidRuntime] at System.DateTime.ToString (string,System.IFormatProvider) <0x0002f>
[AndroidRuntime] at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <0x005b3>
[AndroidRuntime] at string.Format (System.IFormatProvider,string,object[]) <0x00027>
[AndroidRuntime] at string.Format (string,object) <0x0004f>
[AndroidRuntime] at thaiCrash.MainActivity/<OnCreate>c__AnonStorey0.<>m__0 (object,System.EventArgs) <0x00057>
[AndroidRuntime] at Android.Views.View/IOnClickListenerImplementor.OnClick (Android.Views.View) <0x00047>
[AndroidRuntime] at Android.Views.View/IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (intptr,intptr,intptr) <0x0005f>
[AndroidRuntime] at (wrapper dynamic-method) object.e331208e-1a70-4068-913f-6447a6113764 (intptr,intptr,intptr) <0x00043>
[AndroidRuntime]
[AndroidRuntime] at mono.android.view.View_OnClickListenerImplementor.n_onClick(Native Method)
[AndroidRuntime] at mono.android.view.View_OnClickListenerImplementor.onClick(View_OnClickListenerImplementor.java:29)
[AndroidRuntime] at android.view.View.performClick(View.java:4761)
[AndroidRuntime] at android.view.View$PerformClick.run(View.java:19767)
[AndroidRuntime] at android.os.Handler.handleCallback(Handler.java:739)
[AndroidRuntime] at android.os.Handler.dispatchMessage(Handler.java:95)
[AndroidRuntime] at android.os.Looper.loop(Looper.java:135)
[AndroidRuntime] at android.app.ActivityThread.main(ActivityThread.java:5312)
[AndroidRuntime] ... 4 more
[Process] Sending signal. PID: 6735 SIG: 9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment