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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

NullReferenceException when refill the dataset on group grid control

Thread ID:





49676 Sep 22,2006 10:22 PM UTC Sep 25,2006 05:27 AM UTC WinForms 1
Tags: GridControl
Weiwei Jia
Asked On September 22, 2006 10:22 PM UTC

We are using the group grid control on our windows form. An exception is thrown when the dataset is cleaned and refilled. Did anyone know what caused it? thanks in advance.

Exception Details:

Exception Type:NullReferenceException

Object reference not set to an instance of an object.

Stack Trace:

at Syncfusion.Grouping.Internals.GroupCategoryTreeTableEntry.GetSortKey()

at Syncfusion.Collections.BinaryTree.TreeTable.AddIfNotExists(Object key, ITreeTableEntry value)

at Syncfusion.Grouping.Table.InsertSortedRecordsTreeEntry(SortedRecordsTreeTableEntry sortedEntry)

at Syncfusion.Grouping.Table.bindingList_ListChanged(Object sender, ListChangedEventArgs e)

at Syncfusion.Windows.Forms.Grid.Grouping.GridTableBase.bindingList_ListChanged(Object sender, ListChangedEventArgs e)

at System.ComponentModel.ListChangedEventHandler.Invoke(Object sender, ListChangedEventArgs e)

at System.Windows.Forms.BindingSource.OnListChanged(ListChangedEventArgs e)

at System.Windows.Forms.BindingSource.InnerList_ListChanged(Object sender, ListChangedEventArgs e)

at System.Data.DataView.OnListChanged(ListChangedEventArgs e)

at System.Data.DataView.IndexListChanged(Object sender, ListChangedEventArgs e)

at System.Data.DataView.IndexListChangedInternal(Object sender, ListChangedEventArgs e)

at System.Data.DataViewListener.IndexListChanged(Object sender, ListChangedEventArgs e)

at System.Data.Index.OnListChanged(ListChangedType changedType, Int32 index)

at System.Data.Index.InsertRecord(Int32 record, Boolean fireEvent)

at System.Data.Index.ApplyChangeAction(Int32 record, Int32 action)

at System.Data.Index.RecordStateChanged(Int32 record, DataViewRowState oldState, DataViewRowState newState)

at System.Data.DataTable.RecordStateChanged(Int32 record1, DataViewRowState oldState1, DataViewRowState newState1, Int32 record2, DataViewRowState oldState2, DataViewRowState newState2)

at System.Data.DataTable.SetNewRecordWorker(DataRow row, Int32 proposedRecord, DataRowAction action, Boolean isInMerge, Int32 position, Boolean fireEvent, Exception& deferredException)

at System.Data.DataTable.InsertRow(DataRow row, Int32 proposedID, Int32 pos, Boolean fireEvent)

at System.Data.DataTable.InsertRow(DataRow row, Int32 proposedID, Int32 pos)

at System.Data.DataTable.AddRow(DataRow row, Int32 proposedID)

at System.Data.DataRowCollection.Add(DataRow row)

Administrator [Syncfusion]
Replied On September 25, 2006 05:27 AM UTC

Hi spiritaway,

Thanks for being patience.

Please refer to the following sample which demonstrates the GridGroupingControl’s rebinding with datasets without any issues. Is it possible for you to modify the sample to reproduce the issue here?

Best regards,



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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