I build a winform application with some grid-views, when I invoking anything (textboxes, the main form and more) I am getting exception: Object reference not set to an instance of an object.
I really don’t know what to do; we are in an advance project developing so replaceing the telerik components will not the best idea.
Any suggestions?
(see stack trace below)
at Telerik.WinControls.UI.GridVirtualizedRowElement.DetachCells()
at Telerik.WinControls.UI.GridVirtualizedRowElement.Detach()
at Telerik.WinControls.UI.GridDataRowElement.Detach()
at Telerik.WinControls.UI.GridRowElement.DisposeManagedResources()
at Telerik.WinControls.DisposableObject.PerformDispose(Boolean disposing)
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose()
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose()
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose()
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose()
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose()
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose()
at Telerik.WinControls.RadElement.DisposeChildren()
at Telerik.WinControls.RadElement.PerformDispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose(Boolean disposing)
at Telerik.WinControls.DisposableObject.Dispose()
at Telerik.WinControls.ComponentThemableElementTree.Dispose(Boolean disposing)
at Telerik.WinControls.RadElementTree.Dispose()
at Telerik.WinControls.RadControl.Dispose(Boolean disposing)
at Telerik.WinControls.UI.RadGridView.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at Telerik.WinControls.RadControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Control.Dispose(Boolean disposing)
at System.Windows.Forms.Form.Dispose(Boolean disposing)
at Telerik.WinControls.UI.RadFormControlBase.Dispose(Boolean disposing)
at Telerik.WinControls.UI.RadForm.Dispose(Boolean disposing)
at Generic_EI.CELL_PC.Dispose(Boolean disposing) in C:\DevelopZone\TowerProjects\Fab1Automation\NEW_CELL_PC\Generic_EI\CELL_PC.Designer.cs:line 20
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.ApplicationContext.Dispose(Boolean disposing)
at System.Windows.Forms.Application.ThreadContext.DisposeThreadWindows()