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. Image for the cookie policy date
close icon

Grouping and sorting throw NullReferenceException

Exception Source: Syncfusion.Grouping.Base
Exception Type: System.NullReferenceException
Exception Message: Object reference not set to an instance of an object.
Exception Target Site: get_ParentNestedTable

---- Stack Trace ----
Syncfusion.Grouping.ChildTable.get_ParentNestedTable()
Radar.exe: N 00013
Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControlCellRenderer.SwitchNestedTable(nestedTable As GridNestedTable, rowIndex As Int32, colIndex As Int32)
Radar.exe: N 00167
Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControlCellRenderer.SwitchNestedTable(rowIndex As Int32, colIndex As Int32)
Radar.exe: N 00124
Syncfusion.Windows.Forms.Grid.Grouping.GridNestedTableControlCellRenderer.OnHitTest(rowIndex As Int32, colIndex As Int32, e As MouseEventArgs, controller As IMouseController)
Radar.exe: N 00188
Syncfusion.Windows.Forms.Grid.GridCellRendererBase.RaiseHitTest(rowIndex As Int32, colIndex As Int32, mouseEventArgs As MouseEventArgs, controller As IMouseController)
Radar.exe: N 00201
Syncfusion.Windows.Forms.Grid.Grouping.ClickCellsHitTestInfo..ctor(grid As GridControlBase, e As MouseEventArgs, controller As IMouseController)
Radar.exe: N 00561
Syncfusion.Windows.Forms.Grid.Grouping.GridTableClickCellsMouseController.HitTest(e As MouseEventArgs, controller As IMouseController)
Radar.exe: N 00570
Syncfusion.Windows.Forms.MouseControllerDispatcher.HitTest(point As Point, mouseButton As MouseButtons, clicks As Int32, controller As IMouseController&)
Radar.exe: N 00159
Syncfusion.Windows.Forms.MouseControllerDispatcher.ProcessMouseMove(e As MouseEventArgs)
Radar.exe: N 00402
Syncfusion.Windows.Forms.ScrollControllMouseControllerDispatcher.ScrollControlMouseMoveHandled(sender As Object, e As MouseEventArgs)
Radar.exe: N 00019
Syncfusion.Windows.Forms.ScrollControl.OnScrollControlHandledMouseMove(e As MouseEventArgs)
Radar.exe: N 00028
Syncfusion.Windows.Forms.ScrollControl.OnMouseMove(e As MouseEventArgs)
Radar.exe: N 01709
Syncfusion.Windows.Forms.Grid.GridControlBase.OnMouseMove(e As MouseEventArgs)
Radar.exe: N 00112
Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnMouseMove(e As MouseEventArgs)
Radar.exe: N 00031
System.Windows.Forms.Control.WmMouseMove(m As Message&)
Radar.exe: N 00134
System.Windows.Forms.Control.WndProc(m As Message&)
Radar.exe: N 01642
Syncfusion.Windows.Forms.ScrollControl.WndProc(msg As Message&)
Radar.exe: N 00670
Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(msg As Message&)
Radar.exe: N 00656
Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.WndProc(msg As Message&)
Radar.exe: N 00135
System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&)
Radar.exe: N 00012
System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&)
Radar.exe: N 00213
System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr)
Radar.exe: N 00116

1 Reply

AD Administrator Syncfusion Team December 20, 2006 12:15 PM UTC

Hi David,

Thank you for being patience.

Are you using multiple threads in your application? Is the grid is being loaded from a separate thread? Is it possible for you to post us a demo application to reproduce the issue here or modify the sample in the thread (http://www.syncfusion.com/support/forums/message.aspx?&MessageID=53697 )? So we would recommend you a better solution.

Have a nice day.

Best regards,
Madhan

Loader.
Live Chat Icon For mobile
Up arrow icon