Toad World® Forums

TDP 3.6 Pivot table crash

Hey all… while working in TDP 3.6 pivot table within QueryBuilder, I created my pivot and selected CONDITIONAL FORMATTING and this:

System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.PivotGrid.PivotFieldFormatProperties.ToString()
at System.Convert.ToString(Object value, IFormatProvider provider)
at DevExpress.XtraEditors.BaseListBoxControl.GetItemText(Int32 index)
at DevExpress.XtraEditors.BaseListBoxControl.get_Text()
at System.Windows.Forms.Control.OnHandleDestroyed(EventArgs e)
at System.Windows.Forms.Control.WmDestroy(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.BaseListBoxControl.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)

System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.PivotGrid.PivotFieldFormatProperties.ToString()
at System.Convert.ToString(Object value, IFormatProvider provider)
at DevExpress.XtraEditors.BaseListBoxControl.GetItemText(Int32 index)
at DevExpress.XtraEditors.BaseListBoxControl.GetDrawItemText(Int32 index)
at DevExpress.XtraEditors.ViewInfo.BaseListBoxViewInfo.CalcItemInfo(Rectangle bounds, Int32 index)
at DevExpress.XtraEditors.ViewInfo.BaseListBoxViewInfo.CalcItemsInfo()
at DevExpress.XtraEditors.ViewInfo.BaseListBoxViewInfo.CalcContentRect(Rectangle bounds)
at DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcRects()
at DevExpress.XtraEditors.ViewInfo.BaseControlViewInfo.CalcViewInfo(Graphics g)
at DevExpress.XtraEditors.ViewInfo.BaseListBoxViewInfo.CalcViewInfo(Graphics g)
at DevExpress.XtraEditors.BaseControl.LayoutChanged()
at DevExpress.XtraEditors.BaseListBoxControl.LayoutChanged()
at DevExpress.XtraEditors.BaseListBoxControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.OnParentVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Form.OnVisibleChanged(EventArgs e)
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
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.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at Quest.Toad.PivotGrid.FieldAppearanceForm.DefineAppearance(PivotGridControl control, IConnection connection)
at Quest.Toad.PivotGrid.ToadPivotGridControl.SetupStyles()
at Quest.Toad.PivotGrid.ToadPivotGridControl.ConditionalStylesClick(Object sender, EventArgs e)
at DevExpress.Utils.Menu.DXMenuItem.OnClick()
at DevExpress.Utils.Menu.DXPopupStandardMenu.OnStandardMenuClick(Object sender, EventArgs e)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Command.DispatchID(Int32 id)
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.XtraPivotGrid.PivotGridControl.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)

I created QAT-3996 for this issue