Bug 55198 - 2.3.5.233 pre1 unhandled exception on start [XF, Android]
Summary: 2.3.5.233 pre1 unhandled exception on start [XF, Android]
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Paul DiPietro [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-04-13 21:46 UTC by Dmitry
Modified: 2017-06-16 14:00 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_REPRODUCIBLE

Description Dmitry 2017-04-13 21:46:35 UTC
Hello. I updated to latest prerelease and got this issue:

04-14 01:34:14.552 I/dalvikvm( 2573): Could not find method android.widget.TextView.<init>, referenced from method md5b60ffeb829f638581ab2bb9b1a7f4f3f.FormsTextView.<init>
04-14 01:34:14.552 W/dalvikvm( 2573): VFY: unable to resolve direct method 21636: Landroid/widget/TextView;.<init> (Landroid/content/Context;Landroid/util/AttributeSet;II)V
04-14 01:34:14.552 D/dalvikvm( 2573): VFY: replacing opcode 0x70 at 0x0000
An unhandled exception occured.

There's tabbed view, 1 content page as children with listview using ObservableCollection. As info downloading from my server ObservableCollection is being populating. It seems an unhandled exception occurs when it renders elements.
Comment 1 Paul DiPietro [MSFT] 2017-04-14 14:04:14 UTC
It'd be much appreciated if you could upload a minimized reproduction when you have the time so there's no guesswork involved as to the exact code you're using. Thanks!
Comment 2 Dmitry 2017-04-19 13:32:56 UTC
I also use FormsAppCompat.

I think it's because of Button + observable collection, reduced code I catch exception here:

// [XamlCompilation(XamlCompilationOptions.Compile)] on partial class
private ObservableCollection<string> _testArray = new ObservableCollection<string >() { "1", "2"};
        
        public ObservableCollection<string> TestArray
        {
            get
            {
                return _testArray;
            }
            set
            {
                _testArray = value;
                OnPropertyChanged(nameof(TestArray));
            }
        }

<!-- style -->
 <OnIdiom x:Key="coursesRowHeight" x:TypeArguments="x:Int32" Phone="130" Tablet="300" />

<!-- ContentPage is its parent -->
<ListView x:Name="Courses" ItemsSource="{Binding TestArray}" HasUnevenRows="False" RowHeight="{StaticResource coursesRowHeight}" IsRefreshing="True">
        <ListView.ItemTemplate>
            <DataTemplate>
                <ViewCell>
                    <Button Text="Parts"/>
                </ViewCell>
            </DataTemplate>
        </ListView.ItemTemplate>
</ListView>


Commenting Button out / replacing to another control solves the problem

Full exception:

04-19 15:28:03.810 I/MonoDroid(20114): UNHANDLED EXCEPTION:
04-19 15:28:04.101 I/MonoDroid(20114): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Java.Lang.NoSuchMethodError: no method with name='setStateListAnimator' signature='(Landroid/animation/StateListAnimator;)V' in class Landroid/support/v7/widget/AppCompatButton;
04-19 15:28:04.101 I/MonoDroid(20114):   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 
04-19 15:28:04.101 I/MonoDroid(20114):   at Java.Interop.JniEnvironment+InstanceMethods.GetMethodID (Java.Interop.JniObjectReference type, System.String name, System.String signature) [0x00068] in /Users/builder/data/lanes/4009/0ff0aec0/source/Java.Interop/src/Java.Interop/Java.Interop/JniEnvironment.g.cs:11240 
04-19 15:28:04.101 I/MonoDroid(20114):   at Java.Interop.JniType.GetInstanceMethod (System.String name, System.String signature) [0x0000f] in /Users/builder/data/lanes/4009/0ff0aec0/source/Java.Interop/src/Java.Interop/Java.Interop/JniType.cs:228 
04-19 15:28:04.101 I/MonoDroid(20114):   at Java.Interop.JniPeerMembers+JniInstanceMethods.GetMethodInfo (System.String encodedMember) [0x0003a] in /Users/builder/data/lanes/4009/0ff0aec0/source/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods.cs:94 
04-19 15:28:04.101 I/MonoDroid(20114):   at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0004f] in /Users/builder/data/lanes/4009/0ff0aec0/source/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods_Invoke.cs:30 
04-19 15:28:04.101 I/MonoDroid(20114):   at Android.Views.View.set_StateListAnimator (Android.Animation.StateListAnimator value) [0x0002c] in /Users/builder/data/lanes/4009/0ff0aec0/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Android.Views.View.cs:9505 
04-19 15:28:04.101 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer.Initialize () <0x5d571008 + 0x00057> in <e6433e4b21ac4b38a1eaa5cf0f3d9c65>:0 
04-19 15:28:04.101 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer..ctor () [0x00022] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\MasterDetailPageRenderer.cs:368 
04-19 15:28:04.101 I/MonoDroid(20114):   at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
04-19 15:28:04.101 I/MonoDroid(20114):   at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:661 
04-19 15:28:04.101 I/MonoDroid(20114):    --- End of inner exception stack trace ---
04-19 15:28:04.101 I/MonoDroid(20114):   at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00016] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:667 
04-19 15:28:04.101 I/MonoDroid(20114):   at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000ca] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/corlib/ReferenceSources/RuntimeType.cs:179 
04-19 15:28:04.101 I/MonoDroid(20114):   at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x0001a] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/corlib/ReferenceSources/RuntimeType.cs:153 
04-19 15:28:04.101 I/MonoDroid(20114):   at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x0002a] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/referencesource/mscorlib/system/rttype.cs:5638 
04-19 15:28:04.101 I/MonoDroid(20114):   at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00040] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/referencesource/mscorlib/system/activator.cs:201 
04-19 15:28:04.101 I/MonoDroid(20114):   at System.Activator.CreateInstance (System.Type type) [0x00000] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/referencesource/mscorlib/system/activator.cs:134 
04-19 15:28:04.101 I/MonoDroid(20114):   at Xamarin.Forms.Internals.Registrar`1[TRegistrable].GetHandler (System.Type type) [0x00015] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\Registrar.cs:33 
04-19 15:28:04.101 I/MonoDroid(20114):   at Xamarin.Forms.Internals.Registrar`1[TRegistrable].GetHandler[TOut] (System.Type type) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\Registrar.cs:39 
04-19 15:28:04.101 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\EntryRenderer.cs:47 
04-19 15:28:04.101 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\GestureManager.cs:54 
04-19 15:28:04.101 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:38 
04-19 15:28:04.101 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\GestureManager.cs:46 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\ImageRenderer.cs:134 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00026] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\VisualElementRenderer.cs:96 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0002d] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:292 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001b] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\EntryRenderer.cs:50 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\GestureManager.cs:54 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:38 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\GestureManager.cs:46 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\ImageRenderer.cs:134 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00026] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\VisualElementRenderer.cs:96 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0002d] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:292 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001b] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\EntryRenderer.cs:50 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.AddChild (Xamarin.Forms.VisualElement view, Xamarin.Forms.Platform.Android.IVisualElementRenderer oldRenderer, Xamarin.Forms.Platform.Android.RendererPool pool, System.Boolean sameChildren) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\GestureManager.cs:54 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:38 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\GestureManager.cs:46 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\ImageRenderer.cs:134 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00026] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\VisualElementRenderer.cs:96 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x0002d] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\FastRenderers\LabelRenderer.cs:292 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001b] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\EntryRenderer.cs:50 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.ViewCellRenderer.GetCellCore (Xamarin.Forms.Cell item, Android.Views.View convertView, Android.Views.ViewGroup parent, Android.Content.Context context) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\ButtonDrawable.cs:19 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.CellRenderer.GetCell (Xamarin.Forms.Cell item, Android.Views.View convertView, Android.Views.ViewGroup parent, Android.Content.Context context) [0x0002a] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\NativeViewWrapper.cs:16 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.CellFactory.GetCell (Xamarin.Forms.Cell item, Android.Views.View convertView, Android.Views.ViewGroup parent, Android.Content.Context context, Xamarin.Forms.View view) [0x0001d] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\InnerScaleListener.cs:44 
04-19 15:28:04.111 I/MonoDroid(20114):   at Xamarin.Forms.Platform.Android.ListViewAdapter.GetView (System.Int32 position, Android.Views.View convertView, Android.Views.ViewGroup parent) [0x00011] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\SearchBarRenderer.cs:30 
04-19 15:28:04.111 I/MonoDroid(20114):   at Android.Widget.BaseAdapter.n_GetView_ILandroid_view_View_Landroid_view_ViewGroup_ (System.IntPtr jnienv, System.IntPtr native__this, System.Int32 position, System.IntPtr native_convertView, System.IntPtr native_parent) [0x0001a] in /Users/builder/data/lanes/4009/0ff0aec0/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Android.Widget.BaseAdapter.cs:443 
04-19 15:28:04.111 I/MonoDroid(20114):   at (wrapper dynamic-method) System.Object:953f1724-6da1-42ec-b7d7-2ce37797a918 (intptr,intptr,int,intptr,intptr)
04-19 15:28:04.261 I/dalvikvm(20114): Could not find method java.lang.Throwable.<init>, referenced from method android.runtime.JavaProxyThrowable.<init>
04-19 15:28:04.261 W/dalvikvm(20114): VFY: unable to resolve direct method 23065: Ljava/lang/Throwable;.<init> (Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
04-19 15:28:04.261 D/dalvikvm(20114): VFY: replacing opcode 0x70 at 0x0000
04-19 15:28:04.291 D/Mono    (20114): DllImport searching in: '__Internal' ('(null)').
04-19 15:28:04.291 D/Mono    (20114): Searching for 'java_interop_jnienv_throw'.
04-19 15:28:04.291 D/Mono    (20114): Probing 'java_interop_jnienv_throw'.
04-19 15:28:04.291 D/Mono    (20114): Found as 'java_interop_jnienv_throw'.
An unhandled exception occured.
Comment 3 Dmitry 2017-04-19 13:34:59 UTC
Fast fix: correct exception for my presented code 

04-19 16:32:24.687 I/MonoDroid(26491): UNHANDLED EXCEPTION:
04-19 16:32:25.157 I/MonoDroid(26491): System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Java.Lang.NoSuchMethodError: no method with name='setStateListAnimator' signature='(Landroid/animation/StateListAnimator;)V' in class Landroid/support/v7/widget/AppCompatButton;
04-19 16:32:25.167 I/MonoDroid(26491):   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/referencesource/mscorlib/system/runtime/exceptionservices/exceptionservicescommon.cs:143 
04-19 16:32:25.167 I/MonoDroid(26491):   at Java.Interop.JniEnvironment+InstanceMethods.GetMethodID (Java.Interop.JniObjectReference type, System.String name, System.String signature) [0x00068] in /Users/builder/data/lanes/4009/0ff0aec0/source/Java.Interop/src/Java.Interop/Java.Interop/JniEnvironment.g.cs:11240 
04-19 16:32:25.167 I/MonoDroid(26491):   at Java.Interop.JniType.GetInstanceMethod (System.String name, System.String signature) [0x0000f] in /Users/builder/data/lanes/4009/0ff0aec0/source/Java.Interop/src/Java.Interop/Java.Interop/JniType.cs:228 
04-19 16:32:25.167 I/MonoDroid(26491):   at Java.Interop.JniPeerMembers+JniInstanceMethods.GetMethodInfo (System.String encodedMember) [0x0003a] in /Users/builder/data/lanes/4009/0ff0aec0/source/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods.cs:94 
04-19 16:32:25.167 I/MonoDroid(26491):   at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualVoidMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0004f] in /Users/builder/data/lanes/4009/0ff0aec0/source/Java.Interop/src/Java.Interop/Java.Interop/JniPeerMembers.JniInstanceMethods_Invoke.cs:30 
04-19 16:32:25.167 I/MonoDroid(26491):   at Android.Views.View.set_StateListAnimator (Android.Animation.StateListAnimator value) [0x0002c] in /Users/builder/data/lanes/4009/0ff0aec0/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Android.Views.View.cs:9505 
04-19 16:32:25.167 I/MonoDroid(26491):   at Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer.Initialize () <0x5a2c7150 + 0x00057> in <e6433e4b21ac4b38a1eaa5cf0f3d9c65>:0 
04-19 16:32:25.167 I/MonoDroid(26491):   at Xamarin.Forms.Platform.Android.FastRenderers.ButtonRenderer..ctor () [0x00022] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\MasterDetailPageRenderer.cs:368 
04-19 16:32:25.167 I/MonoDroid(26491):   at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
04-19 16:32:25.167 I/MonoDroid(26491):   at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:661 
04-19 16:32:25.167 I/MonoDroid(26491):    --- End of inner exception stack trace ---
04-19 16:32:25.167 I/MonoDroid(26491):   at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00016] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:667 
04-19 16:32:25.177 I/MonoDroid(26491):   at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000ca] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/corlib/ReferenceSources/RuntimeType.cs:179 
04-19 16:32:25.177 I/MonoDroid(26491):   at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x0001a] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/corlib/ReferenceSources/RuntimeType.cs:153 
04-19 16:32:25.177 I/MonoDroid(26491):   at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x0002a] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/referencesource/mscorlib/system/rttype.cs:5638 
04-19 16:32:25.177 I/MonoDroid(26491):   at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00040] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/referencesource/mscorlib/system/activator.cs:201 
04-19 16:32:25.177 I/MonoDroid(26491):   at System.Activator.CreateInstance (System.Type type) [0x00000] in /Users/builder/data/lanes/4009/0ff0aec0/source/mono/mcs/class/referencesource/mscorlib/system/activator.cs:134 
04-19 16:32:25.177 I/MonoDroid(26491):   at Xamarin.Forms.Internals.Registrar`1[TRegistrable].GetHandler (System.Type type) [0x00015] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\Registrar.cs:33 
04-19 16:32:25.177 I/MonoDroid(26491):   at Xamarin.Forms.Internals.Registrar`1[TRegistrable].GetHandler[TOut] (System.Type type) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Core\Registrar.cs:39 
04-19 16:32:25.177 I/MonoDroid(26491):   at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\EntryRenderer.cs:47 
04-19 16:32:25.177 I/MonoDroid(26491):   at Xamarin.Forms.Platform.Android.ViewCellRenderer.GetCellCore (Xamarin.Forms.Cell item, Android.Views.View convertView, Android.Views.ViewGroup parent, Android.Content.Context context) [0x00000] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\ButtonDrawable.cs:19 
04-19 16:32:25.177 I/MonoDroid(26491):   at Xamarin.Forms.Platform.Android.CellRenderer.GetCell (Xamarin.Forms.Cell item, Android.Views.View convertView, Android.Views.ViewGroup parent, Android.Content.Context context) [0x0002a] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\NativeViewWrapper.cs:16 
04-19 16:32:25.177 I/MonoDroid(26491):   at Xamarin.Forms.Platform.Android.CellFactory.GetCell (Xamarin.Forms.Cell item, Android.Views.View convertView, Android.Views.ViewGroup parent, Android.Content.Context context, Xamarin.Forms.View view) [0x0001d] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\InnerScaleListener.cs:44 
04-19 16:32:25.177 I/MonoDroid(26491):   at Xamarin.Forms.Platform.Android.ListViewAdapter.GetView (System.Int32 position, Android.Views.View convertView, Android.Views.ViewGroup parent) [0x00011] in C:\BuildAgent\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\SearchBarRenderer.cs:30 
04-19 16:32:25.177 I/MonoDroid(26491):   at Android.Widget.BaseAdapter.n_GetView_ILandroid_view_View_Landroid_view_ViewGroup_ (System.IntPtr jnienv, System.IntPtr native__this, System.Int32 position, System.IntPtr native_convertView, System.IntPtr native_parent) [0x0001a] in /Users/builder/data/lanes/4009/0ff0aec0/source/monodroid/src/Mono.Android/platforms/android-25/src/generated/Android.Widget.BaseAdapter.cs:443 
04-19 16:32:25.177 I/MonoDroid(26491):   at (wrapper dynamic-method) System.Object:a5fe9920-1841-499a-a363-8fb2427c7dc0 (intptr,intptr,int,intptr,intptr)
04-19 16:32:25.308 I/dalvikvm(26491): Could not find method java.lang.Throwable.<init>, referenced from method android.runtime.JavaProxyThrowable.<init>
04-19 16:32:25.308 W/dalvikvm(26491): VFY: unable to resolve direct method 23065: Ljava/lang/Throwable;.<init> (Ljava/lang/String;Ljava/lang/Throwable;ZZ)V
04-19 16:32:25.308 D/dalvikvm(26491): VFY: replacing opcode 0x70 at 0x0000
04-19 16:32:25.328 D/Mono    (26491): DllImport searching in: '__Internal' ('(null)').
04-19 16:32:25.328 D/Mono    (26491): Searching for 'java_interop_jnienv_throw'.
04-19 16:32:25.328 D/Mono    (26491): Probing 'java_interop_jnienv_throw'.
04-19 16:32:25.328 D/Mono    (26491): Found as 'java_interop_jnienv_throw'.
An unhandled exception occured.
Comment 4 Paul DiPietro [MSFT] 2017-06-16 14:00:58 UTC
For upkeep, due to a lack of a reproduction project as originally requested, we will be closing this. If this issue still occurs after updating to the latest prerelease or nightly build and doing a clean and rebuild of the project, please reopen with a complete project so we can investigate. Thanks.