Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Stacktrace for b#29385
System.Diagnostics.Debugger.Mono_UnhandledException (ex={System.NotSupportedException: Unable to activate instance of type Xamarin.Forms.Platform.Android.ListViewAdapter from native handle d5500035 ---> System.MissingMethodException: No constructor found for Xamarin.Forms.Platform.Android.ListViewAdapter::.ctor(System.IntPtr, Android.Runtime.JniHandleOwnership) ---> Java.Interop.JavaLocationException: Exception of type 'Java.Interop.JavaLocationException' was thrown.
Java.Lang.Error: Exception of type 'Java.Lang.Error' was thrown.
--- End of managed exception stack trace ---
java.lang.Error: Java callstack:
at xamarin.forms.platform.android.ListViewAdapter.n_getCount(Native Method)
at xamarin.forms.platform.android.ListViewAdapter.getCount(ListViewAdapter.java:48)
at android.widget.HeaderViewListAdapter.getCount(HeaderViewListAdapter.java:132)
at android.widget.AdapterView.setFocusable(AdapterView.java:688)
at xamarin.forms.platform.android.TableViewModelRenderer.n_getView(Native Method)
at xamarin.forms.platform.android.TableViewModelRenderer.getView(TableViewModelRenderer.java:81)
at android.widget.AbsListView.obtainView(AbsListView.java:2240)
at android.widget.ListView.makeAndAddView(ListView.java:1790)
at android.widget.ListView.fillDown(ListView.java:691)
at android.widget.ListView.fillSpecific(ListView.java:1349)
at android.widget.ListView.layoutChildren(ListView.java:1608)
at android.widget.AbsListView.onLayout(AbsListView.java:2091)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at xamarin.forms.platform.android.ViewRenderer_2.n_onLayout(Native Method)
at xamarin.forms.platform.android.ViewRenderer_2.onLayout(ViewRenderer_2.java:46)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:29)
at xamarin.forms.platform.android.VisualElementRenderer_1.n_onLayout(Native Method)
at xamarin.forms.platform.android.VisualElementRenderer_1.onLayout(VisualElementRenderer_1.java:46)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:29)
at xamarin.forms.platform.android.NavigationRenderer.n_onLayout(Native Method)
at xamarin.forms.platform.android.NavigationRenderer.onLayout(NavigationRenderer.java:46)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at com.xamarin.forms.platform.android.FormsViewGroup.measureAndLayout(FormsViewGroup.java:29)
at xamarin.forms.platform.android.PlatformRenderer.n_onLayout(Native Method)
at xamarin.forms.platform.android.PlatformRenderer.onLayout(PlatformRenderer.java:62)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1660)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1436)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:374)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
at android.view.View.layout(View.java:14817)
at android.view.ViewGroup.layout(ViewGroup.java:4631)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1987)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1744)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
at android.view.Choreographer.doCallbacks(Choreographer.java:574)
at android.view.Choreographer.doFrame(Choreographer.java:544)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5017)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
at dalvik.system.NativeStart.main(Native Method)
--- End of inner exception stack trace ---
at Java.Interop.TypeManager.CreateProxy (System.Type type, IntPtr handle, JniHandleOwnership transfer) [0x00039] in /Users/builder/data/lanes/1353/86274adf/source/monodroid/src/Mono.Android/src/Java.Interop/TypeManager.cs:267
at Java.Interop.TypeManager.CreateInstance (IntPtr handle, JniHandleOwnership transfer, System.Type targetType) [0x001ea] in /Users/builder/data/lanes/1353/86274adf/source/monodroid/src/Mono.Android/src/Java.Interop/TypeManager.cs:249
--- End of inner exception stack trace ---
at Java.Interop.TypeManager.CreateInstance (intptr,Android.Runtime.JniHandleOwnership,System.Type) [0x0022b] in /Users/builder/data/lanes/1353/86274adf/source/monodroid/src/Mono.Android/src/Java.Interop/TypeManager.cs:255
at Java.Lang.Object.GetObject (intptr,Android.Runtime.JniHandleOwnership,System.Type) [0x000e5] in /Users/builder/data/lanes/1353/86274adf/source/monodroid/src/Mono.Android/src/Java.Lang/Object.cs:372
at Java.Lang.Object._GetObject<Android.Widget.BaseAdapter> (intptr,Android.Runtime.JniHandleOwnership) <0x00093>
at Java.Lang.Object.GetObject<Android.Widget.BaseAdapter> (intptr,Android.Runtime.JniHandleOwnership) <0x0004f>
at Java.Lang.Object.GetObject<Android.Widget.BaseAdapter> (intptr,intptr,Android.Runtime.JniHandleOwnership) <0x00067>
at Android.Widget.BaseAdapter.n_GetCount (intptr,intptr) [0x00000] in /Users/builder/data/lanes/1353/86274adf/source/monodroid/src/Mono.Android/platforms/android-21/src/generated/Android.Widget.BaseAdapter.cs:480
at (wrapper dynamic-method) object.e1ec2d09-0d28-4364-b7a9-5abe37553a08 (intptr,intptr) <IL 0x00011, 0x0001f>
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.