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.
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.