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

GridGroupingControl - Error in CreateTableCellIdentity()

Thread ID:





42995 Apr 11,2006 04:44 PM UTC Apr 20,2006 06:35 AM UTC WinForms 1
Tags: Grouping
Badri Rajani Kanth
Asked On April 11, 2006 04:44 PM UTC

Hi, We are working with GGC v We see error message in our client error log. We could not get the exact scenario. Log is: ================================================= Application Domain: Radar.exe Assembly Codebase: file:///C:/Program Files/Ubs/RadarV3/Radar.exe Assembly Full Name: Radar, Version=, Culture=neutral, PublicKeyToken=null Assembly Version: Assembly Build Date: 3/25/2006 12:14:24 AM Exception Source: Syncfusion.Grid.Grouping.Windows Exception Type: System.NullReferenceException Exception Message: Object reference not set to an instance of an object. Exception Target Site: CreateTableCellIdentity ---- Stack Trace ---- Syncfusion.Windows.Forms.Grid.Grouping.GridTable.CreateTableCellIdentity(element As Element, rowIndex As Int32, colIndex As Int32) Radar.exe: N 03738 Syncfusion.Windows.Forms.Grid.Grouping.GridTable.CreateTableCellStyle(element As Element, rowIndex As Int32, colIndex As Int32) Radar.exe: N 00024 Syncfusion.Windows.Forms.Grid.Grouping.GridTable.GetTableCellStyle(rowIndex As Int32, colIndex As Int32) Radar.exe: N 00132 Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.GetTableViewStyleInfo(rowIndex As Int32, colIndex As Int32) Radar.exe: N 00052 Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.GetViewStyleInfo(rowIndex As Int32, colIndex As Int32, forceQueryCellInfo As Boolean) Radar.exe: N 00011 Syncfusion.Windows.Forms.Grid.GridControlBase.GetViewStyleInfo(rowIndex As Int32, colIndex As Int32) Radar.exe: N 00013 Syncfusion.Windows.Forms.Grid.GridControlBase.GetCellRenderer(rowIndex As Int32, colIndex As Int32) Radar.exe: N 00022 Syncfusion.Windows.Forms.Grid.Grouping.ClickCellsHitTestInfo..ctor(grid As GridControlBase, e As MouseEventArgs, controller As IMouseController) Radar.exe: N 00553 Syncfusion.Windows.Forms.Grid.Grouping.GridTableClickCellsMouseController.HitTest(e As MouseEventArgs, controller As IMouseController) Radar.exe: N 00602 Syncfusion.Windows.Forms.MouseControllerDispatcher.HitTest(point As Point, mouseButton As MouseButtons, clicks As Int32, controller As IMouseController&) Radar.exe: N 00185 Syncfusion.Windows.Forms.MouseControllerDispatcher.ProcessMouseMove(e As MouseEventArgs) Radar.exe: N 00398 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 00027 Syncfusion.Windows.Forms.ScrollControl.OnMouseMove(e As MouseEventArgs) Radar.exe: N 01678 Syncfusion.Windows.Forms.Grid.GridControlBase.OnMouseMove(e As MouseEventArgs) Radar.exe: N 00103 Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.OnMouseMove(e As MouseEventArgs) Radar.exe: N 00032 System.Windows.Forms.Control.WmMouseMove(m As Message&) Radar.exe: N 00134 System.Windows.Forms.Control.WndProc(m As Message&) Radar.exe: N 01478 Syncfusion.Windows.Forms.ScrollControl.WndProc(msg As Message&) Radar.exe: N 00601 Syncfusion.Windows.Forms.Grid.GridControlBase.WndProc(msg As Message&) Radar.exe: N 00328 Syncfusion.Windows.Forms.Grid.Grouping.GridTableControl.WndProc(msg As Message&) Radar.exe: N 00146 System.Windows.Forms.ControlNativeWindow.OnMessage(m As Message&) Radar.exe: N 00010 System.Windows.Forms.ControlNativeWindow.WndProc(m As Message&) Radar.exe: N 00187 System.Windows.Forms.NativeWindow.Callback(hWnd As IntPtr, msg As Int32, wparam As IntPtr, lparam As IntPtr) Radar.exe: N 00047 ================================================= We see somebody rasing similer issue at But in our application we are not working with FindKey method. But we are moving the record positions. Can you please give us some possible scenarios where we can get this error? We are trying to re-produce and fix this. Appreciate any help rgd this. Thanks and Regards Rajani Kanth

Administrator [Syncfusion]
Replied On April 20, 2006 06:35 AM UTC

Hi Rajani, We regret very much for the inconvenience caused. I had contacted the development team regarding this issue. Here is the reply from the grid architect. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I looked through the code for CreateTableCellIdentity and compared it between and latest code and noticed that we made the following change in the method: internal GridTableCellStyleInfoIdentity CreateTableCellIdentity(Element element, int rowIndex, int colIndex) { if (element != null) { Element displayElement = element; GridTableCellStyleInfoIdentity e = new GridTableCellStyleInfoIdentity(TableModel.VolatileData, rowIndex, colIndex); The line GridTableCellStyleInfoIdentity e = new GridTableCellStyleInfoIdentity(TableModel.VolatileData, rowIndex, colIndex); Was replaced with IGridData volatileData = null; if (TableModel != null) volatileData = TableModel.VolatileData; GridTableCellStyleInfoIdentity e = new GridTableCellStyleInfoIdentity(volatileData, rowIndex, colIndex); If you have source code you can try and replace that line in the distribution and let us know if it makes a difference. If it still fails I recommend switching to debug assemblies and send us call stack and the exact lines (code snippedt from CreateTableCellIdentity) where the exception is raised. It is a fairly large method >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please let me know if you need any further assistance. Thanks for your patience. Regards, Haneef


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