Hi,I recently upgraded Infragistics from 2007.3 to 2011.2. When user did copy one cell and drag the rest of cells in same column to paste , the new version 11.2 throws exception when the mouse is out of grid. Do we treat the drag event differently in new version? Did anyone has same problem? Thanks.
System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.Win.UltraWinGrid.UltraGrid.Infragistics.Win.ISelectionManager.ItemNearestPoint(Point point, ISelectableItem lastItem) at Infragistics.Win.SelectionStrategyExtended.OnMouseMove(ISelectableItem item, MouseMessageInfo& msginfo) at Infragistics.Win.SelectionStrategyExtended.OnMouseMessage(ISelectableItem item, MouseMessageInfo& msginfo) at Infragistics.Win.SelectionStrategyBase.VerticalScrollTimer_Tick(Object sender, EventArgs e) at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Hello ,
I have created a test project in order to reproduce this issue, in the attachments you will find the sample and a video from the test. As you could see I am not able to reproduce this issue based on the steps which you describe with Infragistics 12.1 service release 2038. If you have a sample which demonstrate this issue I will be glad to investigate this further .
Thank you for using Infragistics Components.
I create project at D:\IGSrc\CLR4.0\WinForms_Master_CLR40.sln and get follow stack-trace:
at Infragistics.Win.UltraWinGrid.UltraGrid.Infragistics.Win.ISelectionManager.ItemNearestPoint(Point point, ISelectableItem lastItem) in D:\IGSrc\CLR4.0\UltraWinGrid\UltraGrid.cs:line 12914 at Infragistics.Win.SelectionStrategyExtended.OnMouseMove(ISelectableItem item, MouseMessageInfo& msginfo) in D:\IGSrc\CLR4.0\Common\Infragistics.Win\SelectionStrategyExtended.cs:line 800 at Infragistics.Win.SelectionStrategyExtended.OnMouseMessage(ISelectableItem item, MouseMessageInfo& msginfo) in D:\IGSrc\CLR4.0\Common\Infragistics.Win\SelectionStrategyExtended.cs:line 132 at Infragistics.Win.ControlUIElementBase.ProcessMouseMoveHelper(Object sender, MouseEventArgs e) in D:\IGSrc\CLR4.0\Common\Infragistics.Win\ControlElement.cs:line 3365 at Infragistics.Win.ControlUIElementBase.ProcessMouseMove(Object sender, MouseEventArgs e) in D:\IGSrc\CLR4.0\Common\Infragistics.Win\ControlElement.cs:line 3259 at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e) in D:\IGSrc\CLR4.0\Common\Infragistics.Win\Utilities.cs:line 4889 at Infragistics.Win.UltraControlBase.OnMouseMove(MouseEventArgs e) in D:\IGSrc\CLR4.0\Common\Infragistics.Win\UltraControlBase.cs:line 3688 at System.Windows.Forms.Control.WmMouseMove(Message& m) at System.Windows.Forms.Control.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)
Error at this line: cell = nearestRow.Row.Cells[ column ];
nearestRow.Row.Cells is null .
I've got same issue. I use infragistics 2012.1.
Steps to reproduse:
1) Create grouping by any columns.
2) Try to drag on cells to grouping panel.
3) Get Exception:
System.NullReferenceException: Object reference not set to an instance of an object.at Infragistics.Win.UltraWinGrid.UltraGrid.Infragistics.Win.ISelectionManager.ItemNearestPoint(Point point, ISelectableItem lastItem)at Infragistics.Win.SelectionStrategyExtended.OnMouseMove(ISelectableItem item, MouseMessageInfo& msginfo)at Infragistics.Win.SelectionStrategyExtended.OnMouseMessage(ISelectableItem item, MouseMessageInfo& msginfo)at Infragistics.Win.ControlUIElementBase.ProcessMouseMoveHelper(Object sender, MouseEventArgs e)at Infragistics.Win.ControlUIElementBase.ProcessMouseMove(Object sender, MouseEventArgs e)at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)at Infragistics.Win.UltraControlBase.OnMouseMove(MouseEventArgs e)at System.Windows.Forms.Control.WmMouseMove(Message& m)at System.Windows.Forms.Control.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) (DB.GM.GCT.QTE.UI.Program)
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Could you please post a small sample where this issue is reproducible, once I have a sample which I could run on my machine I will be able to investigate this further for you and if there are any need I will be able to take a consultation with our developers. Without such a sample it will be very hard to me to narrow the exactly reason for this issue, because I only could make guesses for the code which could cause this .
I am waiting for your feedback.