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

Crashes in Android with Xamarin.Forms 1.3 release

$
0
0

After upgrading to the 1.3 release we are getting crashes inside Xamarin.Forms that do not have our code in the callstack. It crashes when switching between ListViews using a toggle.

We tried to create a simple test application with fake data, but that (unfortunately) doesn't exhibit the problem.
Does anyone have any recommendation on how to track this down? We tried eliminating a number of complexities from the ListView, but that didn't seem to help.

First exception:

0x53 in Java.Interop.TypeManager.CreateProxy at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Java.Interop/TypeManager.cs:267,5 C#

0x1ED in Java.Interop.TypeManager.CreateInstance at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Java.Interop/TypeManager.cs:249,5 C#
0xBD in Java.Lang.Object.GetObject at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:333,4 C#
0x26 in Java.Lang.Object.GetObject<Android.Widget.BaseAdapter> at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:313,4 C#
0x2 in Java.Lang.Object.GetObject<Android.Widget.BaseAdapter> at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:305,4 C#
0x8 in Java.Lang.Object.GetObject<Android.Widget.BaseAdapter> at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:299,4 C#
0x3 in Android.Widget.BaseAdapter.n_GetCount at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Widget.BaseAdapter.cs:480,19 C#
0x11 in object.22d43e01-b4e2-4ab4-a73e-e254e5e32edd C#
0x52 in Android.Runtime.JNIEnv.CallVoidMethod at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:504,4 C#
0x66 in Android.Views.View.set_Focusable at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.View.cs:4545,6 C#
0x8C in Xamarin.Forms.Platform.Android.ListViewRenderer.OnElementChanged C#
0xFC in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.ListView>.SetElement C#
0x2E in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.ListView>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement C#
0x29 in Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild C#
0x116 in Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement C#
0xD in Xamarin.Forms.Platform.Android.VisualElementPackager.<.ctor>b__0 C#
0x2E in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnElementChanged C#
0xFC in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.SetElement C#
0x2E in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement C#
0x29 in Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild C#
0x116 in Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement C#
0xD in Xamarin.Forms.Platform.Android.VisualElementPackager.<.ctor>b__0 C#
0x2E in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnElementChanged C#
0xFC in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.SetElement C#
0x2E in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement C#
0x29 in Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild C#
0x116 in Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement C#
0xD in Xamarin.Forms.Platform.Android.VisualElementPackager.<.ctor>b__0 C#
0x2E in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnElementChanged C#
0xFC in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.SetElement C#
0x2E in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement C#
0xA1 in Xamarin.Forms.Platform.Android.ViewCellRenderer.ViewCellContainer.Update C#
0x13 in Xamarin.Forms.Platform.Android.ViewCellRenderer.GetCellCore C#
0x55 in Xamarin.Forms.Platform.Android.CellRenderer.GetCell C#
0x28 in Xamarin.Forms.Platform.Android.CellFactory.GetCell C#
0x9F in Xamarin.Forms.Platform.Android.ListViewAdapter.GetView C#
0x1E in Android.Widget.BaseAdapter.n_GetView_ILandroid_view_View_Landroid_view_ViewGroup
at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Widget.BaseAdapter.cs:460,4 C#
0x23 in object.086b90e9-ab57-4609-8c9f-333c661f4193 C#
0x52 in Android.Runtime.JNIEnv.CallVoidMethod at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:504,4 C#
0x87 in Android.Views.ViewGroup.Layout at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3047,4 C#
0x64 in Xamarin.Forms.Platform.Android.ViewRenderer<Xamarin.Forms.ListView,Android.Widget.ListView>.OnLayout C#
0x32 in Xamarin.Forms.Platform.Android.ListViewRenderer.OnLayout C#
0x12 in Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII C#
0x2F in object.e6598888-015d-4997-ab74-487b31400d90 C#
0x73 in Android.Runtime.JNIEnv.CallNonvirtualVoidMethod at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892,4 C#
0x160 in Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout C#
0xBE in Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout C#
0xE in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.ListView>.UpdateLayout C#
0x38 in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.OnLayout C#
0x12 in Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII C#
0x2F in object.e6598888-015d-4997-ab74-487b31400d90 C#
0x73 in Android.Runtime.JNIEnv.CallNonvirtualVoidMethod at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892,4 C#
0x160 in Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout C#
0xBE in Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout C#
0xE in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.View>.UpdateLayout C#
0x38 in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.Page>.OnLayout C#
0x12 in Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII C#
0x2F in object.e6598888-015d-4997-ab74-487b31400d90 C#
0x73 in Android.Runtime.JNIEnv.CallNonvirtualVoidMethod at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892,4 C#
0x160 in Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout C#
0xBE in Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout C#
0xE in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.Page>.UpdateLayout C#
0x38 in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.NavigationPage>.OnLayout C#
0x8 in Xamarin.Forms.Platform.Android.NavigationRenderer.OnLayout C#
0x12 in Xamarin.Forms.Platform.Android.FormsViewGroup.n_OnLayout_ZIIII C#
0x2F in object.e6598888-015d-4997-ab74-487b31400d90 C#
0x73 in Android.Runtime.JNIEnv.CallNonvirtualVoidMethod at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:892,4 C#
0x160 in Xamarin.Forms.Platform.Android.FormsViewGroup.MeasureAndLayout C#
0xBE in Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout C#
0xE in Xamarin.Forms.Platform.Android.VisualElementRenderer<Xamarin.Forms.NavigationPage>.UpdateLayout C#
0x4B in Xamarin.Forms.Platform.Android.MasterDetailContainer.OnLayout C#
0x12 in Android.Views.ViewGroup.n_OnLayout_ZIIII at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3275,4 C#
0x2F in object.47e5bc91-09ed-4558-8546-224f1ad071e8 C#
0x52 in Android.Runtime.JNIEnv.CallVoidMethod at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.g.cs:504,4 C#
0x87 in Android.Views.ViewGroup.Layout at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3047,4 C#
0x91 in Xamarin.Forms.Platform.Android.VisualElementTracker.UpdateLayout C#
0xE in Xamarin.Forms.Platform.Android.MasterDetailRenderer.UpdateLayout C#
0xA0 in Xamarin.Forms.Platform.Android.Platform.OnLayout C#
0x1B in Xamarin.Forms.Platform.Android.PlatformRenderer.OnLayout C#
0x12 in Android.Views.ViewGroup.n_OnLayout_ZIIII at /Users/builder/data/lanes/monodroid-mlion-monodroid-4.20-series/ba9bbbdd/source/monodroid/src/Mono.Android/platforms/android-19/src/generated/Android.Views.ViewGroup.cs:3275,4 C#
0x2F in object.47e5bc91-09ed-4558-8546-224f1ad071e8 C#


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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