This is a migrated thread and some comments may be shown as answers.

An unhandled exception of type 'System.NullReferenceException' occurred in Telerik.WinControls.GridView.dll

3 Answers 258 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jo
Top achievements
Rank 1
Jo asked on 27 Jan 2014, 07:57 PM
Greetings,
I am getting the following exception when touch quickly different editable rows in the grid. The Telerik version is 2012.1.321.40.


System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.GridViewEditManager.BeginEdit()
   at Telerik.WinControls.UI.GridViewEditManager.OnPositionChanged(PositionChangedEventArgs args)
   at Telerik.WinControls.UI.GridViewEditManager.Telerik.WinControls.UI.IGridViewEventListener.ProcessEvent(GridViewEvent eventData)
   at Telerik.WinControls.UI.GridViewEventProcessEntity.ProcessCollection(GridViewEvent gridEvent, PriorityWeakReferenceList list, GridEventProcessMode processMode)
   at Telerik.WinControls.UI.GridViewSynchronizationService.NotifyListeners(GridViewEvent gridEvent)
   at Telerik.WinControls.UI.GridViewSynchronizationService.FlushEvents()
   at Telerik.WinControls.UI.GridViewSynchronizationService.DispatchEvent(GridViewEvent gridEvent)
   at Telerik.WinControls.UI.GridViewSynchronizationService.RaiseCurrentChanged(GridViewTemplate template, GridViewRowInfo row, GridViewColumn column, Boolean user)
   at Telerik.WinControls.UI.BaseGridNavigator.SelectCore(GridViewRowInfo row, GridViewColumn column)
   at Telerik.WinControls.UI.BaseGridNavigator.Select(GridViewRowInfo row, GridViewColumn column)
   at Telerik.WinControls.UI.GridRowBehavior.SelectPositionOnMouseDownLeft(MouseEventArgs e, GridRowElement rowElement, GridCellElement cellElement)
   at Telerik.WinControls.UI.GridRowBehavior.OnMouseDownLeft(MouseEventArgs e)
   at Telerik.WinControls.UI.GridRowBehavior.OnMouseDown(MouseEventArgs e)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseDown(MouseEventArgs e)
   at Telerik.WinControls.UI.RadGridView.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

3 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 30 Jan 2014, 11:23 AM
Hello Jo,

Thank you for contacting us.

I am not able to determine the what the problem may be from the provided information. I would like to kindly ask you to send me some additional details along with steps which will reproduce the issue.

Looking forward to your response.

Regards,
George
Telerik
TRY TELERIK'S NEWEST PRODUCT - APPLICATION ANALYTICS for WINFORMS.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Supriya
Top achievements
Rank 1
answered on 24 Mar 2015, 02:53 PM
Hi ,
I am getting same error after I upgraded Telerik from 2012 Q2 to 2013 Q3 using VS 2013.

An unhandled exception of type 'System.NullReferenceException' occurred in Telerik.Windows.Controls.FixedDocumentViewers.dll

Please advise?
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 25 Mar 2015, 07:13 AM
Hello Supriya,

Thank you for writing.

The provided information is not enough for me to reproduce the error on my end. Without a reproducible scenario or a sample code snippet replicating the issue we can make only conjectures what is causing the problem. That is why I would kindly ask you to specify the exact steps how to reproduce the problem or give us some code snippet which leads to the described error. Alternatively, you can open a support ticket where you can attach a sample project so I can investigate the precise case and assist you further. Thank you in advance.

I am looking forward to your reply.

Regards,
Dess
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
GridView
Asked by
Jo
Top achievements
Rank 1
Answers by
George
Telerik team
Supriya
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or