After the last release, one of our infragistics ultragrids in our vb.net program running the latest release of 2015.1 Winforms began having issues loading.
Thank you for your help in advance,
Derek
Below is the exception we receive on load:
Exception: Object reference not set to an instance of an object.
Source: Infragistics4.Win.UltraWinGrid.v15.1
Site: AlignHeaderInFixedHeaderArea
Stack Trace:
at Infragistics.Win.UltraWinGrid.UltraGridGroup.AlignHeaderInFixedHeaderArea(Rectangle& headerRect, Rectangle& fixedHeaders, BandHeaderMetricsCache bandHeaderMetricsCache)
at Infragistics.Win.UltraWinGrid.UltraGridGroup.CalculateHeaderRect(Rectangle& headerRect, Rectangle& fixedHeaderRect, BandHeaderMetricsCache bandHeaderMetricsCache)
at Infragistics.Win.UltraWinGrid.UltraGridColumn.CalculateHeaderRect(Rectangle& rcHeader, Rectangle& prcFixedHeaders, BandHeaderMetricsCache bandHeaderMetricsCache)
at Infragistics.Win.UltraWinGrid.FixedSummaryLineUIElement.GetSummaryLocation(UltraGridColumn column, Int32& x, Int32& width)
at Infragistics.Win.UltraWinGrid.FixedSummaryLineUIElement.PositionChildElements()
at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UltraWinGrid.RowColRegionIntersectionUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UltraWinGrid.DataAreaUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UltraWinGrid.UltraGridUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)
at Infragistics.Win.UIElement.VerifyChildElements(Boolean recursive)
at Infragistics.Win.UltraWinGrid.UltraGridLayout.GetUIElement(Boolean verify, Boolean forceInitializeRect)
at Infragistics.Win.UltraWinGrid.UltraGridLayout.GetUIElement(Boolean verify)
at Infragistics.Win.UltraWinGrid.UltraGridCell.EnterEditorIntoEditMode(Boolean byMouse)
at Infragistics.Win.UltraWinGrid.UltraGridCell.EnterEditMode(Boolean byMouse, Boolean showingDropDown)
at Infragistics.Win.UltraWinGrid.UltraGridCell.EnterEditMode(Boolean byMouse)
at Infragistics.Win.UltraWinGrid.UltraGridLayout.PerformAction(UltraGridAction actionCode, Boolean shiftKeyDown, Boolean ctlKeyDown)
at Infragistics.Win.UltraWinGrid.UltraGrid.PerformAction(UltraGridAction actionCode, Boolean shift, Boolean control)
at Infragistics.Win.UltraWinGrid.UltraGrid.PerformAction(UltraGridAction actionCode)
at [PROGRAM].[PROJECT].[FILE_NAME}.tabMain_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.TabControl.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.TabControl.WmSelChange()
at System.Windows.Forms.TabControl.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.SendMessage(HandleRef hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.Control.SendMessage(Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.Control.ReflectMessageInternal(IntPtr hWnd, Message& m)
at System.Windows.Forms.Control.WmNotify(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
at System.Windows.Forms.Control.DefWndProc(Message& m)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at [PROGRAM].modMain.Main()
HOw fix, it canges only when summaries column last right on group, you must insert blank Column on last right on group
Hi Hung,
Yes, the issue happens when you have groups and the last column has a summary. So if you insert a blank column the issue won’t happen. I have created a private case for you, so that you will be notified when the fix is released. The case number is CAS-166472-X8D1P6 and you can view it from the following link:
https://es.infragistics.com/my-account/support-activity
Please let me know if you have any additional questions.
Is there a way to get the previous hotfix for 14.2? We were unaware of this issue, and went live with a build of our application over the weekend.