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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

System.ArgumentNullException: Value cannot be null.

Thread ID:

Created:

Updated:

Platform:

Replies:

128202 Jan 7,2017 05:28 PM UTC Jan 10,2017 03:59 AM UTC Xamarin.iOS 3
loading
Tags: SfDataGrid
Renato Wong
Asked On January 7, 2017 05:28 PM UTC

Hello,

I am trying to run an iOS Application using the DataGrid Control, however I am getting the following error:

System.ArgumentNullException: Value cannot be null.
Parameter name: method

Also, I am getting the same error with the downloaded example in the DataGrid Tutorial (GettingStarted Project)

Full Output.


Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/Xamarin.iOS.dll
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/System.dll
Thread started:  #2
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/DCSInventoryIOS.exe
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/Syncfusion.SfDataGrid.iOS.dll
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/System.Xml.dll
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/Syncfusion.Linq.iOS.dll
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/System.Core.dll
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/Mono.Dynamic.Interpreter.dll [External]
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/Syncfusion.GridCommon.Portable.dll
Loaded assembly: /Users/renatowong/Library/Developer/CoreSimulator/Devices/964081B9-6963-4787-885A-8C5259FE56B6/data/Containers/Bundle/Application/2894A26D-2A1C-4656-A59F-E4B7EA34E3F4/DCSInventoryIOS.app/System.Web.Services.dll
Unhandled Exception:

System.ArgumentNullException: Value cannot be null.
Parameter name: method


Thank you!

Divakar Subramaniam [Syncfusion]
Replied On January 9, 2017 09:13 AM UTC

Hi Renato, 
 
 
Thanks for contacting Syncfusion Support. 
 
 
We have checked your query and we were not able to reproduce the reported issue on our side. Also, the sample we have provided in our GettingStarted section works fine on our side. Please ensure that whether you have attached all the assemblies mentioned in the below link in your project. 
 
 
 
Also, check your sample by setting LinkerBehavior as “Don’t Link” or “Link SDK assemblies only”. 
 
   
 
 
We have attached a working sample(GettingStarted sample) for your reference and you can download the same from the below link. 
 
 
 
If the issue still persists, then please do revert us with modified sample reproducing the issue which will help us to serve you better. 
             
 
Regards, 
Divakar. 
 


Renato Wong
Replied On January 9, 2017 04:10 PM UTC

Thank you very much for the response.

That was my problem, I had the link behavior property to Link all assemblies, changing it to Link SDK assemblies only solve the problem and I was able to run my application.

Thanks for the help!

Divakar Subramaniam [Syncfusion]
Replied On January 10, 2017 03:59 AM UTC

Hi Renato, 
 
 
Thanks for the update. Please let us know if you need any other assistance from us. 
 
 
Regards, 
Divakar. 


CONFIRMATION

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.

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

;