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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CheckBottomForIndentCell Exception

Thread ID:





149683 Dec 5,2019 10:45 AM UTC Dec 9,2019 10:37 AM UTC WinForms 3
Tags: SfDataGrid
Florian Job
Asked On December 5, 2019 10:46 AM UTC

I encounter an exception which seems to happen quite randomly in SfDatagrid, can you please help me to solve it (it is bound to a binding list with filtering, sorting and grouping enabled) ?

Exception: System.NullReferenceException

Method : Boolean CheckBottomForIndentCell(Syncfusion.WinForms.DataGrid.DataRowBase, Syncfusion.WinForms.DataGrid.DataColumnBase)

Full StackTrace :
Syncfusion.WinForms.DataGrid.GridPainter.CheckBottomForIndentCell(DataRowBase dataRow, DataColumnBase column)
Syncfusion.WinForms.DataGrid.GridPainter.DrawColumn(Graphics graphics, Rectangle finalSize, DataRowBase dataRow, IEnumerable`1 columns)
Syncfusion.WinForms.DataGrid.GridPainter.DrawDefaultRow(Graphics graphics, DataRowBase dataRow, Rectangle finalSize)
Syncfusion.WinForms.DataGrid.GridPainter.DrawRow(DataRowBase dataRow, Rectangle finalSize, Graphics graphics)
Syncfusion.WinForms.DataGrid.GridPainter.DrawRows(Graphics graphics)
Syncfusion.WinForms.DataGrid.GridPainter.OnPaint(PaintEventArgs e, Size clientSize)
Syncfusion.WinForms.DataGrid.TableControl.OnPaint(PaintEventArgs e)
System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
System.Windows.Forms.Control.WmPaint(Message& m)
System.Windows.Forms.Control.WndProc(Message& m)
Syncfusion.WinForms.Controls.SfScrollControl.WndProc(Message& msg)
System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Mohanram Anbukkarasu [Syncfusion]
Replied On December 6, 2019 01:37 PM UTC

Hi Florian,   
Thanks for contacting Syncfusion support.    
Sorry for the inconvenience. We are unable to reproduce the reported issue in our end. As you have mentioned it as occurring randomly, the provided stack trace is not sufficient to reproduce the issue. We have checked the method specified in the stack trace and there are no possibilities for getting Null Reference Exception in it. It is hard for us to reproduce the issue with the provided details.    
If possible, please provide us your issue reproducible sample or else the SfDataGrid settings you have used in your application with proper code snippet and a screenshot of your application and provide the scenario in which you are facing the issue. (For example, while performing grouping or anything like that). These details will help us to reproduce the reported issue in our end, so that we can find the exact cause for the issue and provide a prompt solution at the earliest.    
Mohanram A.   

Florian Job
Replied On December 6, 2019 01:39 PM UTC

It will be hard for us to provide more details but it seems to happen on form closing and our user get it randomly. We were also unable to reproduce it on our side...
Best regards and thank you.

Mohanram Anbukkarasu [Syncfusion]
Replied On December 9, 2019 10:37 AM UTC

Hi Florian,  
Thanks for the update.  
We have created a new incident under your Direct trac account to follow up with this query. We suggest you to follow up with the incident for further updates. Please log in using the below link.   
Mohanram A.  


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

Live Chat Icon For mobile
Live Chat Icon