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

Unexpected Crashes

4 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
kumar
Top achievements
Rank 1
kumar asked on 09 Jul 2008, 07:38 PM
System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="Telerik.WinControls.GridView"
  StackTrace:
       at Telerik.WinControls.Data.DataAccessComponent.get_IsHasValidChildTemplates()
       at Telerik.WinControls.UI.GridViewTemplate.GetRenderColumns()
       at Telerik.WinControls.UI.GridRowElement.UpdateColumns(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.UI.GridTableElement.UpdateColumns(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.UI.GridViewTemplate.UpdateColumns(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.UI.GridViewColumnCollection.NotifyListenersCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.Data.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.UI.GridViewColumnCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
       at Telerik.WinControls.Data.ObservableCollection`1.ClearItems()
       at Telerik.WinControls.Data.ItemObservableCollection`1.ClearItems()
       at Telerik.WinControls.UI.GridViewColumnCollection.ClearItems()
       at Telerik.WinControls.Data.DataAccessComponent.Dispose(Boolean disposing)
       at Telerik.WinControls.UI.GridViewTemplate.Dispose(Boolean disposing)
       at System.ComponentModel.Component.Finalize()
  InnerException:


This error comes every time(almost everytime) I close my app. Any pointers will be appreciated.

4 Answers, 1 is accepted

Sort by
0
Martin Vasilev
Telerik team
answered on 11 Jul 2008, 02:45 PM
Hi kumar,

Thank you for writing.

I was not able to reproduce the exception. Please provide me with further details of your scenario, such as forms and controls used in your application, what are the steps to reproduce the issue, etc.

I am looking forward for your reply.
 

Kind regards,
Martin Vasilev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kris
Top achievements
Rank 1
answered on 08 Feb 2010, 02:58 PM
Did anyone find the cause of this issue? I am running into this problem as well when I try to refresh the grid. I am using Version 6.1.0.0 of Telerik.WinControls.GridView dll.
0
Martin Vasilev
Telerik team
answered on 10 Feb 2010, 02:13 PM
Hello Kris,

Thank you for writing.

It seems that you are using an outdated version of RadControls suite. I highly recommend you download the latest Q3 2009 SP1 and give a try. It contains a numerous improvements and bug fixes and it is likely that the described issue will resolved itself. Let me know if you still experience the same exception with the latest release.

Sincerely yours,
Martin Vasilev
the Telerik team

Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Kris
Top achievements
Rank 1
answered on 22 Feb 2010, 04:38 PM
Thanks, Martin, I upgraded and all is working correctly.
Tags
General Discussions
Asked by
kumar
Top achievements
Rank 1
Answers by
Martin Vasilev
Telerik team
Kris
Top achievements
Rank 1
Share this question
or