Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
35
AllowRowSummaries on Columns Causing Exceptions after Last Update
posted

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. 

  • The form loads without issue if the AllowRowSummaries = AllowRowSummaries.True is commented out for the columns that have summaries. 
  • We have checked out the current release of our code and it is having the same issue, so this may be an issue with the most recent update of infragistics. 

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.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)

   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)

   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)

   at Infragistics.Win.UltraWinGrid.RowColRegionIntersectionUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)

   at Infragistics.Win.UIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)

   at Infragistics.Win.UltraWinGrid.DataAreaUIElement.VerifyChildElements(ControlUIElementBase controlElement, Boolean recursive)

   at Infragistics.Win.UIElement.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.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.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.Control.WndProc(Message& m)

   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.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()