AnsweredAssumed Answered

Exception after updating to 100.6

Question asked by lucianoac on Sep 16, 2019
Latest reply on Sep 16, 2019 by MBranscomb-esristaff

I have an application writen in Xamarin Forms targeting primarily Android, with ArcGISRuntime 100.5. Everything works like a charm. After updating to version 100.6 I am getting a exception: "Default constructor not found for type Esri.ArcGISRuntime.Xamarin.Forms.Platform.Android.MapViewRenderer" when open the Page with MapView control.

 

Anyone experienced something like that?

 

at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x0007b] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean wrapExceptions, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Boolean wrapExceptions, System.Threading.StackCrawlMark& stackMark) [0x00027] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic, System.Boolean wrapExceptions) [0x0002c] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00000] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <d4a23bbd2f544c30a48c44dd622ce09f>:0
at Xamarin.Forms.Internals.Registrar`1[TRegistrable].GetHandler (System.Type type) [0x00015] in D:\agent\_work\1\s\Xamarin.Forms.Core\Registrar.cs:36
at Xamarin.Forms.Internals.Registrar`1[TRegistrable].GetHandler[TOut] (System.Type type) [0x00000] in D:\agent\_work\1\s\Xamarin.Forms.Core\Registrar.cs:42
at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x00006] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\Platform.cs:284
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) [0x00023] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:86
at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00104] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:219
at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:70
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:371
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000ce] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:174
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:120
at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\Platform.cs:285
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) [0x00023] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:86
at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00104] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:219
at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:70
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:371
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000ce] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:174
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:120
at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\Platform.cs:285
at Xamarin.Forms.Platform.Android.Platform.PresentModal (Xamarin.Forms.Page modal, System.Boolean animated) [0x00023] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\Platform.cs:766
at Xamarin.Forms.Platform.Android.Platform+<Xamarin-Forms-INavigation-PushModalAsync>d__53.MoveNext () [0x0004a] in D:\agent\_work\1\s\Xamarin.Forms.Platform.Android\Platform.cs:264
--- End of stack trace from previous location where exception was thrown ---
at Xamarin.Forms.Application+NavigationImpl+<OnPushModal>d__3.MoveNext () [0x0008d] in D:\agent\_work\1\s\Xamarin.Forms.Core\Application.cs:351
--- End of stack trace from previous location where exception was thrown ---
at Prism.Navigation.PageNavigationService+<DoPush>d__30.MoveNext () [0x000c1] in <d8c75a611c3d4353a4bfda6337f9efd1>:0
--- End of stack trace from previous location where exception was thrown ---
at Prism.Navigation.PageNavigationService+<>c__DisplayClass13_0+<<ProcessNavigationForContentPage>b__0>d.MoveNext () [0x00091] in <d8c75a611c3d4353a4bfda6337f9efd1>:0
--- End of stack trace from previous location where exception was thrown ---
at Prism.Navigation.PageNavigationService+<DoNavigateAction>d__20.MoveNext () [0x0010c] in <d8c75a611c3d4353a4bfda6337f9efd1>:0
--- End of stack trace from previous location where exception was thrown ---
at Prism.Navigation.PageNavigationService+<ProcessNavigationForContentPage>d__13.MoveNext () [0x00198] in <d8c75a611c3d4353a4bfda6337f9efd1>:0
--- End of stack trace from previous location where exception was thrown ---
at Prism.Navigation.PageNavigationService+<ProcessNavigation>d__10.MoveNext () [0x0016b] in <d8c75a611c3d4353a4bfda6337f9efd1>:0
--- End of stack trace from previous location where exception was thrown ---

Outcomes