Forum Xamarin Xamarin.Android

android.runtime.JavaProxyThrowable Exception with Xamarin Forms Map

Seb_GlanumSeb_Glanum Member ✭✭
edited November 2019 in Xamarin.Android

Hello everyone!

I have someone in Android who have download my application.

And the application always crash on his device with Xamarin Forms Map. In the Google Play Console, I see the crash and his device with "Crashes and SNR" but I don't know what does this issue mean so here's the report that Google Play Console gives me

android.runtime.JavaProxyThrowable: at Xamarin.Forms.Maps.Map+<>c.<PinsOnCollectionChanged>b__49_0 (Xamarin.Forms.Maps.Pin pin) [0x00000] in <db722b9b1e08492d9f1a6074f91f4638>:0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x0002c] in <9a9f5508c72f4d88a660ecb94b497f8b>:0 at Xamarin.Forms.Maps.Map.PinsOnCollectionChanged (System.Object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00013] in <db722b9b1e08492d9f1a6074f91f4638>:0 at (wrapper delegate-invoke) <Module>.invoke_void_object_NotifyCollectionChangedEventArgs(object,System.Collections.Specialized.NotifyCollectionChangedEventArgs) at System.Collections.ObjectModel.ObservableCollection1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedEventArgs e) [0x00018] in :0
at System.Collections.ObjectModel.ObservableCollection1[T].OnCollectionChanged (System.Collections.Specialized.NotifyCollectionChangedAction action, System.Object item, System.Int32 index) [0x00009] in <dc145312dd64491289c70c89d09e54d4>:0 at System.Collections.ObjectModel.ObservableCollection1[T].InsertItem (System.Int32 index, T item) [0x0001a] in :0
at System.Collections.ObjectModel.Collection`1[T].Add (T item) [0x00020] in <481d051d49164fb698cc9234f2722d7c>:0
at JDIApp.Views.Pages.MemberProducersListPage.OnGeolocateButtonClick (System.Object sender, System.EventArgs e) [0x000ca] in <8b3571fdc2db48e5b154861d2534d5ef>:0
at Xamarin.Forms.Button.Xamarin.Forms.Internals.IButtonElement.PropagateUpClicked () [0x0000a] in :0
at Xamarin.Forms.ButtonElement.ElementClicked (Xamarin.Forms.VisualElement visualElement, Xamarin.Forms.Internals.IButtonElement ButtonElementManager) [0x0001f] in :0
at Xamarin.Forms.Button.SendClicked () [0x00000] in :0
at Xamarin.Forms.Platform.Android.ButtonElementManager.OnClick (Xamarin.Forms.VisualElement element, Xamarin.Forms.IButtonController buttonController, Android.Views.View v) [0x00003] in <55f6646769334770807b0669cb39e223>:0
at Xamarin.Forms.Platform.Android.AppCompat.ButtonRenderer.Android.Views.View.IOnClickListener.OnClick (Android.Views.View v) [0x0000c] in <55f6646769334770807b0669cb39e223>:0
at Android.Views.View+IOnClickListenerInvoker.n_OnClick_Landroid_view_View_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_v) [0x00011] in :0
at (wrapper dynamic-method) System.Object.49(intptr,intptr,intptr)

at md58432a647068b097f9637064b8985a5e0.ButtonRenderer.n_onClick (Native Method)

at md58432a647068b097f9637064b8985a5e0.ButtonRenderer.onClick (ButtonRenderer.java:76)

at android.view.View.performClick (View.java:6291)

at android.view.View$PerformClick.run (View.java:24931)

at android.os.Handler.handleCallback (Handler.java:808)

at android.os.Handler.dispatchMessage (Handler.java:101)

at android.os.Looper.loop (Looper.java:166)

at android.app.ActivityThread.main (ActivityThread.java:7428)

at java.lang.reflect.Method.invoke (Native Method)

at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:245)

at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:921)`

I see that is crashing when I'm changing the Pins Collection but the reason, I don't know why. My app is working perfectly with others Android devices.

Thanks everyone!

Sign In or Register to comment.