'Random crash in Xamarin forms app on hardware and sim
Every now and again my customers RayGun is reporting this stack trace error form the application.
Can't create handler inside thread Thread[Thread-28,10,main] that has not called Looper.prepare()
When I look at the output window, I get the exact same—no line numbers nor any idea of what is causing the crash. Is there a way to identify where the crash is actually happening in the app?
I use devexpress popup control, and it seems to mention a popup requester in the text below, but I'm not familiar with Java so I'm not sure.
Java.Interop.JniEnvironment+InstanceMethods.CallObjectMethod(Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) in <2c45baecf97f47c282b53aca0c40193f> Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualObjectMethod(System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) in <2c45baecf97f47c282b53aca0c40193f> AndroidX.AppCompat.App.AlertDialog+Builder.Create() in Xamarin.Forms.Platform.Android.PopupManager+PopupRequestHelper+DialogBuilder.Create() in <96f652db3e85415fac9127f887d9026d> Xamarin.Forms.Platform.Android.PopupManager+PopupRequestHelper.OnAlertRequested(Xamarin.Forms.Page sender, Xamarin.Forms.Internals.AlertArguments arguments) in <96f652db3e85415fac9127f887d9026d> (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&) System.Reflection.RuntimeMethodInfo.Invoke(System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) in <32c9f39281d24ca284bef7a413e9a3f0>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
