Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Android Exception in Xamarin Shared App

$
0
0

I am getting the following error and am unable to figure out why...

1-02 00:55:16.255 4218 4218 I MonoDroid: UNHANDLED EXCEPTION:
11-02 00:55:16.258 4218 4218 I MonoDroid: System.NullReferenceException: Object reference not set to an instance of an object
11-02 00:55:16.258 4218 4218 I MonoDroid: at Xamarin.Forms.Platform.Android.FormsApplicationActivity.OnPrepareOptionsMenu (Android.Views.IMenu) <0x00020>
11-02 00:55:16.258 4218 4218 I MonoDroid: at Android.App.Activity.n_OnPrepareOptionsMenu_Landroid_view_Menu_ (intptr,intptr,intptr) <0x0005b>
11-02 00:55:16.258 4218 4218 I MonoDroid: at (wrapper dynamic-method) object.7907aeaa-f610-48ef-9c8a-45469f9f1b7f (intptr,intptr,intptr) <0x0004b>
11-02 00:55:16.285 4218 4218 W Xamarin.Insights: Warning: Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object
11-02 00:55:16.285 4218 4218 W Xamarin.Insights: at Xamarin.Forms.Platform.Android.FormsApplicationActivity.OnPrepareOptionsMenu (Android.Views.IMenu) <0x00020>
11-02 00:55:16.285 4218 4218 W Xamarin.Insights: at Android.App.Activity.n_OnPrepareOptionsMenu_Landroid_view_Menu_ (intptr,intptr,intptr) <0x0005b>
11-02 00:55:16.285 4218 4218 W Xamarin.Insights: at (wrapper dynamic-method) object.7907aeaa-f610-48ef-9c8a-45469f9f1b7f (intptr,intptr,intptr) <0x0004b>
11-02 00:55:16.329 4218 4218 W mmbeer.sommbeer: type=1400 audit(0.0:4): avc: denied { read } for name="mem" dev="debugfs" ino=34918 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:debugfs:s0 tclass=file
11-02 00:55:16.329 4218 4218 W mmbeer.sommbeer: type=1400 audit(0.0:5): avc: denied { read } for name="mem" dev="debugfs" ino=34918 scontext=u:r:untrusted_app:s0 tcontext=u:object_r:debugfs:s0 tclass=file
11-02 00:55:16.619 4218 4218 W art : JNI RegisterNativeMethods: attempt to register 0 native methods for md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable
11-02 00:55:16.734 4218 4218 I mono-stdout: SommBeer MAIN ACTIVITY EXCEPTION
11-02 00:55:16.736 4218 4218 I mono-stdout: Java.Lang.RuntimeException: Exception of type 'Java.Lang.RuntimeException' was thrown.
11-02 00:55:16.736 4218 4218 I mono-stdout: --- End of managed exception stack trace ---
11-02 00:55:16.736 4218 4218 I mono-stdout: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
11-02 00:55:16.736 4218 4218 I mono-stdout: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)
11-02 00:55:16.736 4218 4218 I mono-stdout: Caused by: java.lang.reflect.InvocationTargetException
11-02 00:55:16.736 4218 4218 I mono-stdout: at java.lang.reflect.Method.invoke(Native Method)
11-02 00:55:16.736 4218 4218 I mono-stdout: at java.lang.reflect.Method.invoke(Method.java:372)
11-02 00:55:16.736 4218 4218 I mono-stdout: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)
11-02 00:55:16.736 4218 4218 I mono-stdout: ... 1 more


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>