- Home
- Forum
- Xamarin.Forms
- Syncfusion Not Working With Latest Xamarin Forms?
Syncfusion Not Working With Latest Xamarin Forms?
Does this library not work with the latest version of forms? I am using 2.3.3.175. I get a null reference when starting the project. Here is the stack trace:
at Xamarin.Forms.Platform.Android.ListViewAdapter..ctor (Android.Content.Context context, Android.Widget.ListView realListView, Xamarin.Forms.ListView listView) [0x00096] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\ListViewAdapter.cs:56
at Xamarin.Forms.Platform.Android.ListViewRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x00100] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Renderers\ListViewRenderer.cs:142
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000f4] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:193
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:129
at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Platform.cs:289
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 C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:74
at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00104] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:207
at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:58
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:337
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00111] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:196
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:129
at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Platform.cs:289
at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.Convert (Xamarin.Forms.View source, Xamarin.Forms.VisualElement valid) [0x00014] in <bd61b47abb414d06bbe85db7a7c303fc>:0
at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.ConvertFormsToNative (Xamarin.Forms.View view, Xamarin.Forms.Rectangle size, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, System.Boolean contentView) [0x00007] in <bd61b47abb414d06bbe85db7a7c303fc>:0
at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerMapping.OnNavigationDrawerPropertiesChanged (System.String propertyName, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, Com.Syncfusion.Navigationdrawer.SfNavigationDrawer nativenavigationDrawer, System.Single width, System.Single height) [0x0040a] in <bd61b47abb414d06bbe85db7a7c303fc>:0
at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x0018a] in <bd61b47abb414d06bbe85db7a7c303fc>:0
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000f4] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:193
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:129
at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Platform.cs:289
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 C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:74
at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00104] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:207
at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x00000] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementPackager.cs:58
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:337
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00111] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:196
at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\VisualElementRenderer.cs:129
at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\Platform.cs:289
at Xamarin.Forms.Platform.Android.AppCompat.Platform.AddChild (Xamarin.Forms.Page page, System.Boolean layout) [0x00015] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\Platform.cs:250
at Xamarin.Forms.Platform.Android.AppCompat.Platform.SetPage (Xamarin.Forms.Page newRoot) [0x00089] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\Platform.cs:239
at Xamarin.Forms.Platform.Android.FormsAppCompatActivity.InternalSetPage (Xamarin.Forms.Page page) [0x0009b] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\FormsAppCompatActivity.cs:374
at Xamarin.Forms.Platform.Android.FormsAppCompatActivity.SetMainPage () [0x00000] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\FormsAppCompatActivity.cs:444
at Xamarin.Forms.Platform.Android.FormsAppCompatActivity.LoadApplication (Xamarin.Forms.Application application) [0x00183] in C:\BuildAgent2\work\ca3766cfc22354a1\Xamarin.Forms.Platform.Android\AppCompat\FormsAppCompatActivity.cs:135
at TrainTrack.Droid.MainActivity.OnCreate (Android.OS.Bundle bundle) [0x00027] in C:\Users\Ray\Documents\Projects\TrainTrack\TrainTrack\TrainTrack.Droid\MainActivity.cs:23
at Android.Support.V4.App.FragmentActivity.n_OnCreate_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_savedInstanceState) [0x00011] in <27c17fe440cf491ba8255bcefade6e02>:0
at (wrapper dynamic-method) System.Object:1b31a990-24a5-4e38-b593-ed9f0b482ddc (intptr,intptr,intptr)
SIGN IN To post a reply.
14 Replies
RK
Ray Kelly
December 15, 2016 10:55 PM UTC
Looks like this might be specific to NavigationDrawer. Schedule view works.
PK
Pavendhan Kumar
Syncfusion Team
December 16, 2016 12:44 PM UTC
Hi Ray,
We would like to inform that the issue "Adding list view in NavigationDrawer’s throws exception" is occurring due to Xamarin Forms latest version (i.e.2.3.1.175). We request you to use the older version (i.e.2.3.1.114) of Xamarin forms till the has been resolved. And also there is a query already raised in Xamarin forum regarding the same. Please find the link for the query.
https://forums.xamarin.com/discussion/80549/android-listview-crashes-not-on-ios-or-uwp
We would like to inform that the issue "Adding list view in NavigationDrawer’s throws exception" is occurring due to Xamarin Forms latest version (i.e.2.3.1.175). We request you to use the older version (i.e.2.3.1.114) of Xamarin forms till the has been resolved. And also there is a query already raised in Xamarin forum regarding the same. Please find the link for the query.
https://forums.xamarin.com/discussion/80549/android-listview-crashes-not-on-ios-or-uwp
And We have filed a bug report about "adding a list view in NavigationDrawer crashes the app on Xamarin.Forms Android platform" and please find the link for the report in below.
Link: https://bugzilla.xamarin.com/show_bug.cgi?id=46563
Regards,
Pavendhan K.
RK
Ray Kelly
December 16, 2016 12:59 PM UTC
Unfortunatly I need XF 2.3.3.175 so I cannot go back. Hopefully it can be fixed soon. Thank you for your thorough reply.
Ray
Ray
PK
Pavendhan Kumar
Syncfusion Team
December 19, 2016 11:03 AM UTC
Hi Ray,
Thank you for your update. We are looking for the same(solution) from Xamarin team. We will let you know once the issue has been resolved.
Regards,
Pavendhan K.
AP
Alejandro Pestchanker
February 26, 2017 05:04 PM UTC
Hi Everyone!!
I'm having the same problem using Xamarin.forms 2.3.3.193
I have noticed though that if I choose a DEBUG build the app works perfectly fine.. the issue is with the RELEASE build, so I guess it must be related with linking.
Could you please confirm any status or efforts to fix this?
Here's my stacktrace.
[MonoDroid] UNHANDLED EXCEPTION:
[MonoDroid] System.NullReferenceException: Object reference not set to an instance of an object
[MonoDroid] at Xamarin.Forms.Platform.Android.ListViewAdapter..ctor (Android.Content.Context context, Android.Widget.ListView realListView, Xamarin.Forms.ListView listView) [0x00096] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.ListViewRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x0010f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000fc] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] 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 <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00118] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] 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 <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00118] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.Convert (Xamarin.Forms.View source, Xamarin.Forms.VisualElement valid) [0x00014] in <7cbe0b03d61741178bc3612a9bac0a76>:0
[MonoDroid] at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.ConvertFormsToNative (Xamarin.Forms.View view, Xamarin.Forms.Rectangle size, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, System.Boolean contentView) [0x00007] in <7cbe0b03d61741178bc3612a9bac0a76>:0
[MonoDroid] at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerMapping.OnNavigationDrawerPropertiesChanged (System.String propertyName, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, Com.Syncfusion.Navigationdrawer.SfNavigationDrawer nativenavigationDrawer, System.Single width, System.Single height) [0x0040f] in <7cbe0b03d61741178bc3612a9bac0a76>:0
[MonoDroid] at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x000ed] in <7cbe0b03d61741178bc3612a9bac0a76>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000fc] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] 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 <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00118] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element, Android.Support.V4.App.FragmentManager fragmentManager) [0x00031] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.AppCompat.FragmentContainer.OnCreateView (Android.Views.LayoutInflater inflater, Android.Views.ViewGroup container, Android.OS.Bundle savedInstanceState) [0x00015] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Android.Support.V4.App.Fragment.n_OnCreateView_Landroid_view_LayoutInflater_Landroid_view_ViewGroup_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_inflater, System.IntPtr native_container, System.IntPtr native_savedInstanceState) [0x00022] in <27c17fe440cf491ba8255bcefade6e02>:0
[MonoDroid] at (wrapper dynamic-method) System.Object:73035bc4-d292-4e48-8114-547c86294d24 (intptr,intptr,intptr,intptr,intptr)
VA
Vanaja Annasamy
Syncfusion Team
February 27, 2017 01:14 PM UTC
Hi Alejandro,
Thank you for contacting Syncfusion support.
We are experiencing the crash on running on both release and debug mode and also there is a query already raised in Xamarin forum regarding the same. Please find the link for the query.
And We have fixed a bug report about "adding a list view in NavigationDrawer crashes the app on Xamarin.Forms Android platform" and please find the link for the report in below.
We request you to use Syncfusion ListView instead of Xamarin.Form List View.We have created sample for your reference. Please download the same from below link.
Please let us know if you have concern on this.
Regards,
vanaja R.A.
AP
Alejandro Pestchanker
February 27, 2017 02:08 PM UTC
Thanks Vanaja!
I've downloaded the sample and will try it.
It'll be great for all SyncFusion users if those link you have provided can be updated with this recommendation so people can try that workaround instead of rising more tickets or threads... I've seen both links before writing here and none of them states this workaround.
Thanks for the help, will keep you posted if that solves my issues.
BR
Alex
VA
Vanaja Annasamy
Syncfusion Team
February 28, 2017 01:16 PM UTC
Hi Alex,
Thank you for your update. We will wait until hear from you.
Regards,
Vanaja R.A.
Thank you for your update. We will wait until hear from you.
Regards,
Vanaja R.A.
Hi Alex,
Thank you for your update. We will wait until hear from you.
Regards,
Vanaja R.A.
Dear All,
I wasn't have the time to migrate my regular ListViews to Sf List View as I'm using refresh and other stuff that in order to make it work I've to install also Sf PullToRefresh, and make many modifications I don't have the time to do right now.
In the meantime I've noticed a new version of SfNavigationDrawer (15.1.0.37) so I gave it a try.
In IOS it does works fine.. But in Android it crashes the App upon instantiation.. I've tried with Xamarin.forms 2.3.3.114 and 2.3.3.193.. same crash in both.
Here's the stacktrace
[MonoDroid] UNHANDLED EXCEPTION:
[art] JNI RegisterNativeMethods: attempt to register 0 native methods for android.runtime.JavaProxyThrowable
[MonoDroid] System.NullReferenceException: Object reference not set to an instance of an object
[MonoDroid] at Xamarin.Forms.Platform.Android.ListViewAdapter..ctor (Android.Content.Context context, Android.Widget.ListView realListView, Xamarin.Forms.ListView listView) [0x00096] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.ListViewRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x0010f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000fc] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] 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 <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00118] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] 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 <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00118] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.Convert (Xamarin.Forms.View source, Xamarin.Forms.VisualElement valid) [0x00014] in <c67619c6de8f4700be793fa2361674ec>:0
[MonoDroid] at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.ConvertFormsToNative (Xamarin.Forms.View view, Xamarin.Forms.Rectangle size, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, System.Boolean contentView) [0x00007] in <c67619c6de8f4700be793fa2361674ec>:0
[MonoDroid] at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerMapping.OnNavigationDrawerPropertiesChanged (System.String propertyName, Syncfusion.SfNavigationDrawer.XForms.SfNavigationDrawer formsnavigationDrawer, Com.Syncfusion.Navigationdrawer.SfNavigationDrawer nativenavigationDrawer, System.Single width, System.Single height) [0x0040f] in <c67619c6de8f4700be793fa2361674ec>:0
[MonoDroid] at Syncfusion.SfNavigationDrawer.XForms.Droid.SfNavigationDrawerRenderer.OnElementChanged (Xamarin.Forms.Platform.Android.ElementChangedEventArgs`1[TElement] e) [0x000ed] in <c67619c6de8f4700be793fa2361674ec>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x000fc] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element) [0x0001f] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] 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 <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x0010d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementPackager.Load () [0x0000d] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetPackager (Xamarin.Forms.Platform.Android.VisualElementPackager packager) [0x00007] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].SetElement (TElement element) [0x00118] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.VisualElementRenderer`1[TElement].Xamarin.Forms.Platform.Android.IVisualElementRenderer.SetElement (Xamarin.Forms.VisualElement element) [0x00027] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.Platform.CreateRenderer (Xamarin.Forms.VisualElement element, Android.Support.V4.App.FragmentManager fragmentManager) [0x00031] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Xamarin.Forms.Platform.Android.AppCompat.FragmentContainer.OnCreateView (Android.Views.LayoutInflater inflater, Android.Views.ViewGroup container, Android.OS.Bundle savedInstanceState) [0x00015] in <a3e44144fef249b0888b761605dfca24>:0
[MonoDroid] at Android.Support.V4.App.Fragment.n_OnCreateView_Landroid_view_LayoutInflater_Landroid_view_ViewGroup_Landroid_os_Bundle_ (System.IntPtr jnienv, System.IntPtr native__this, System.IntPtr native_inflater, System.IntPtr native_container, System.IntPtr native_savedInstanceState) [0x00022] in <27c17fe440cf491ba8255bcefade6e02>:0
[MonoDroid] at (wrapper dynamic-method) System.Object:03a870ef-9da4-4354-99df-22671874cf55 (intptr,intptr,intptr,intptr,intptr)
VA
Vanaja Annasamy
Syncfusion Team
March 6, 2017 12:39 PM UTC
Hi Alenjandro,
Thanks for your update.
Thanks for your update.
Query: crash on SfNavigationDrawer in Android platform.
We were unable to reproduce the reported issue “ crash on SfNavigationDrawer in Android platform”. We have created sample for your convenience please download the same from below link.
Link: http://www.syncfusion.com/downloads/support/forum/127890/ze/NavigationDrawer-107174234
After Xamarin.Forms 2.3.1.114 version while using SfNavigationDrawer with Xamarin ListView, null exception will be thrown in Android platform. We have raised a ticket for the same in Xamarin Community. Meanwhile we recommend you to use older version of Xamarin.Forms or SfListView instead of Xamarin ListView
Please let us know if you have concern on this.
Regards,
Vanaja R.A.
WB
William Beckett
March 19, 2017 08:12 PM UTC
Using the SfListView worked for me! Thanks for the advice!
VA
Vanaja Annasamy
Syncfusion Team
March 20, 2017 06:54 AM UTC
Hi William,
Thank you for your update. We are glad that you have achieved your requirement.
Regards,
Vanaja R.A.
CA
Carlos
April 2, 2017 03:58 AM UTC
How come Xamarin is taking to long to fix this?
Doesnt he care for partners???
VA
Vanaja Annasamy
Syncfusion Team
April 3, 2017 10:23 AM UTC
Hi Carlos,
Thank you for contacting Syncfusion support.
We have fixed the issue "crash on SfNavigationDrawer while using Xamarin.ListView" in Android platform in the latest version custom assembly (15.1.0.41). Please download the same from below link.
Link: https://www.syncfusion.com/forums/129701/essential-studio-2017-volume-1-service-pack-2-release-v15-1-0-41-available-for-download
Please let us know if you have concern on this.
Regards,
Vanaja R.A.
Thank you for contacting Syncfusion support.
We have fixed the issue "crash on SfNavigationDrawer while using Xamarin.ListView" in Android platform in the latest version custom assembly (15.1.0.41). Please download the same from below link.
Link: https://www.syncfusion.com/forums/129701/essential-studio-2017-volume-1-service-pack-2-release-v15-1-0-41-available-for-download
Please let us know if you have concern on this.
Regards,
Vanaja R.A.
SIGN IN To post a reply.
- 14 Replies
- 6 Participants
-
RK Ray Kelly
- Dec 15, 2016 10:50 PM UTC
- Apr 3, 2017 10:23 AM UTC