We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

NullReference Exception on GGC

Thread ID:

Created:

Updated:

Platform:

Replies:

70720 Dec 27,2007 03:52 PM Jun 20,2008 05:00 AM Windows Forms 4
loading
Tags: GridControl
Sendil Duraisamy
Asked On December 27, 2007 03:52 PM

System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControlCellRenderer.SwitchNestedTable(GridNestedTable nestedTable)
at Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControlCellRenderer.SwitchNestedTableAndRestore(GridNestedTable nestedTable)
at Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControl.Table_CurrentRecordContextChange(Object sender, CurrentRecordContextChangeEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableModel.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableModel.Syncfusion.Grouping.ITableEventsTarget.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Grouping.TableDescriptor.Syncfusion.Grouping.ITableEventsTarget.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Grouping.Table.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableBase.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Grouping.Table.NotifyLeaveRecordComplete(Boolean success, Element previousRecord)
at Syncfusion.Grouping.CurrentRecordManager.LeaveRecord(Boolean cancelEditIfNotValid)
at Syncfusion.Grouping.ChildTable.LeaveRecord(Boolean cancelEditIfNotValid)
at Syncfusion.Grouping.NestedTable.OnLeaveRecordCalled()
at Syncfusion.Grouping.CurrentRecordManager.LeaveRecord(Boolean cancelEditIfNotValid)
at Syncfusion.Grouping.CurrentRecordManager.NavigateTo(Element record, Boolean cancelEditIfNotValid, Boolean scrollInView)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlSelectRecords.BeginSelectCells(Int32 rowIndex, Int32 colIndex, Keys modifierKeys)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlSelectRecords.MouseDown(GridTableClickCellsEventArgs te)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.ProcessTableClickCellsMouseDown(GridTableClickCellsEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableClickCellsMouseController.MouseDown(MouseEventArgs e)
at Syncfusion.Windows.Forms.MouseControllerDispatcher.ProcessMouseDown(MouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControllMouseControllerDispatcher.ScrollControlBeforeMouseDown(Object sender, CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.CancelMouseEventHandler.Invoke(Object sender, CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControl.OnScrollControlMouseDown(CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.Grid.GridControlBase.OnScrollControlMouseDown(CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControl.RaiseCancelMouseEvent(MouseEventArgs e, CancelMouseDelegate d)
catched at Syncfusion.Windows.Forms.ScrollControl.RaiseCancelMouseEvent(MouseEventArgs e, CancelMouseDelegate d) in :line 0



Rajagopal [Syncfusion]
Replied On December 28, 2007 04:29 PM

Hi Sendhilraj,

Thanks for your interest in Syncfusion Products.

When exactly do you see this exception thrown in your application? What is the Essential Studio version that you are currently using? Please provide more information on this issue preferrably with a sample, so that we can look into this issue in depth and get back to you.

Regards,
Rajagopal


John Conley
Replied On March 6, 2008 05:56 PM

Hello. If I might chime in, I get this error when i try to open the Grid designer at design time. I'm using version 4.112.0.50

>Hi Sendhilraj,

Thanks for your interest in Syncfusion Products.

When exactly do you see this exception thrown in your application? What is the Essential Studio version that you are currently using? Please provide more information on this issue preferrably with a sample, so that we can look into this issue in depth and get back to you.

Regards,
Rajagopal




Vitaly Knyazev
Replied On June 20, 2008 04:58 AM

Same happens in my project but in run-time, when grid is left unattended for a while (workstation locked, remote session and then local session again) and then I click on a record cell and get "Object reference not set to an instance of an object" message box with following call stack in debug output window. Other grids on the same form still work fine.

System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControlCellRenderer.SwitchNestedTable(GridNestedTable nestedTable)
at Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControlCellRenderer.SwitchNestedTableAndRestore(GridNestedTable nestedTable)
at Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControl.Table_CurrentRecordContextChange(Object sender, CurrentRecordContextChangeEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableModel.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableModel.Syncfusion.Grouping.ITableEventsTarget.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Grouping.TableDescriptor.Syncfusion.Grouping.ITableEventsTarget.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Grouping.Table.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableBase.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTable.OnCurrentRecordContextChange(CurrentRecordContextChangeEventArgs e)
at Syncfusion.Grouping.Table.NotifyLeaveRecordComplete(Boolean success, Element previousRecord)
at Syncfusion.Grouping.CurrentRecordManager.LeaveRecord(Boolean cancelEditIfNotValid)
at Syncfusion.Grouping.CurrentRecordManager.DeactivateRecord(Table table, Table notThisTable)
at Syncfusion.Grouping.CurrentRecordManager.DeactivateRecord(Table table, Table notThisTable)
at Syncfusion.Grouping.CurrentRecordManager.EnterRecord(Element record)
at Syncfusion.Grouping.CurrentRecordManager.NavigateTo(Element record, Boolean cancelEditIfNotValid, Boolean scrollInView)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlSelectRecords.BeginSelectCells(Int32 rowIndex, Int32 colIndex, Keys modifierKeys)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControlSelectRecords.MouseDown(GridTableClickCellsEventArgs te)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.ProcessTableClickCellsMouseDown(GridTableClickCellsEventArgs e)
at Syncfusion.Windows.Forms.Grid.Grouping.GridTableClickCellsMouseController.MouseDown(MouseEventArgs e)
at Syncfusion.Windows.Forms.MouseControllerDispatcher.ProcessMouseDown(MouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControllMouseControllerDispatcher.ScrollControlBeforeMouseDown(Object sender, CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.CancelMouseEventHandler.Invoke(Object sender, CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControl.OnScrollControlMouseDown(CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.Grid.GridControlBase.OnScrollControlMouseDown(CancelMouseEventArgs e)
at Syncfusion.Windows.Forms.ScrollControl.RaiseCancelMouseEvent(MouseEventArgs e, CancelMouseDelegate d)


>Hi Sendhilraj,

Thanks for your interest in Syncfusion Products.

When exactly do you see this exception thrown in your application? What is the Essential Studio version that you are currently using? Please provide more information on this issue preferrably with a sample, so that we can look into this issue in depth and get back to you.

Regards,
Rajagopal




Vitaly Knyazev
Replied On June 20, 2008 05:00 AM

Suppose something gets brocken in grouping mode with custom group sorting - had lots of problems with that. But error itself happens in plain mode.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;