We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Object reference not set to an instance of an object

Thread ID:





143013 Feb 28,2019 02:04 PM UTC Mar 12,2019 05:41 PM UTC Xamarin.Forms 3
Tags: SfListView
Asked On February 28, 2019 02:06 PM UTC

When using the return function in navigation the error is displayed.
Full log attached

at Syncfusion.ListView.XForms.iOS.ExtendedScrollViewRenderer.Dispose (System.Boolean disposing) [0x00009] in <7d0618f1aae248c380f91094422426e9>:0 at Foundation.NSObject.Dispose () [0x00000] in /Library/Frameworks/Xamarin.iOS.framework/Versions/ at Xamarin.Forms.Platform.iOS.VisualElementPackager.OnChildRemoved (Xamarin.Forms.VisualElement view) [0x0003e] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:122 at Xamarin.Forms.Platform.iOS.VisualElementPackager.SetElement (Xamarin.Forms.VisualElement oldElement, Xamarin.Forms.VisualElement newElement) [0x00092] in D:\a\1\s\Xamarin.Forms.Platform.iOS\VisualElementPackager.cs:200

Gnana Priya Namasivayam [Syncfusion]
Replied On March 1, 2019 11:40 PM UTC

Hi Ted, 
Thanks for using Syncfusion support. 
We have checked the reported query from our side. We would like to let you know that in our sample we have checked by navigating from one listview page to another by returning particular page in navigation method. Do you mean this “Navigation.Pushasync(new mainpage())” as return function in navigation in your previous update. If yes, then we have attached the tested sample based on your query but reported issue didn’t occur in our sample, please find the sample from below. 
Meanwhile, Can you please check whether reported issue occur I our sample also. If no, please revert us back with the modified sample or the replication procedure to reproduce the reported issue which will help us to analyze your query better and provide appropriate solution at our end. 
If no, can you please share details like whether you are using any third party plugin to navigate or loading listview inside any other custom view or page. Please explain your use case detail. 
Gnana Priya N 

Replied On March 8, 2019 12:43 PM UTC

The example given does not apply to implementation. below that performs the call to page.

            var navigationParams = new NavigationParameters();
            navigationParams.Add("model", atv);
            _navigationService.NavigateAsync("DetalhesAtividadePage", navigationParams);

Deivaselvan Y [Syncfusion]
Replied On March 12, 2019 05:41 PM UTC

Hi Ted, 

We have checked the reported query from our side. We would like to know that when we navigated MainPage with parameters as mentioned, MainPage loaded with properly. We have checked by loading this in App.xaml.cs page instead default prism navigation. We have attached the sample for you reference, please find the sample from below. 

Sample Link : http://www.syncfusion.com/downloads/support/forum/143013/ze/Prism1158183425  

We have also attached the documentation link for your reference, 
Link : https://prismlibrary.github.io/docs/xamarin-forms/navigation/passing-parameters.html 
If above sample does not meet your requirement, please share more details about how you have done navigation in your sample and please explain your use case in detail which will help us to analyze and provide appropriate solution at our end.  


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon