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

Parents
No Data
Reply
  • 23930
    Offline posted

    Hi Derek,

     

    Thank you for posting in our forums.

     

    This issue has been reported to us and it is already logged in our internal issue tracking system. I have created a private case for you (CAS-165116-H1T4Y1) in order to link it to the logged item so that you will be notified as soon as the issue is fixed. You can view your currently active cases from this link:

     

    https://www.infragistics.com/my-account/support-activity

     

    Please let me know if you have any additional questions.

Children