This is a migrated thread and some comments may be shown as answers.

ArgumentNullException While instanciating the gridView

2 Answers 64 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vincent
Top achievements
Rank 1
Vincent asked on 06 Nov 2018, 07:21 PM

Hi ! 

I'm getting a System.ArgumentNullException while instanciating a form that contains a GridView. I made my own research to find out the issue and end up on this: (see attached files)

The stacktrace is refering to the line 488 of my form (see in attached files) which is in the InitializeComponent method.

The error is occuring randomly so I don't have any clue on this...

Thank you!

2 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 07 Nov 2018, 07:50 AM
Hello, Vincent, 

According to the provided stack trace it seems that you use the RadGridView in OpenEdge environment. However, we don't have any known issues or other similar reports from other customers. 

After some research in the OpenEdge related forum, I found the following thread: https://knowledgebase.progress.com/articles/Article/system-argumentnullexception-is-thrown-when-trying-to-create-a-template
Indeed, it i snot related to the Telerik UI for WinForms product but it gave me some clue about the possible problem.

I suppose that you may be missing a reference to the Telerik.WinControls.GridView.dll. Note that the required references should be placed in the same folder as the project in OpenEdge. You need to have the following references:
- Telerik.WinControls
- Telerik.WinControls.GridView
- Telerik.WinControls.UI
- TelerikCommon

I hope this information helps. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Vincent
Top achievements
Rank 1
answered on 07 Nov 2018, 01:01 PM

Hi,

By looking to the librairies that I have in my project's folder, I realised that I one of them was in a different version. I upgraded it to the same version of the others and it seems to correct the problem! 

Thank you !

Tags
GridView
Asked by
Vincent
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Vincent
Top achievements
Rank 1
Share this question
or