ArgumentNullException While instanciating the gridView

3 posts, 0 answers
  1. Vincent
    Vincent avatar
    6 posts
    Member since:
    Oct 2018

    Posted 06 Nov 2018 Link to this post

    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. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3575 posts

    Posted 07 Nov 2018 Link to this post

    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.
  3. Vincent
    Vincent avatar
    6 posts
    Member since:
    Oct 2018

    Posted 07 Nov 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    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 !

Back to Top