Unhandled Exception

Single-click script execution on multiple SQL Servers.

Unhandled Exception

Postby PDinCA » Sat Dec 08, 2007 1:35 am

Removed all scripts from upper pane.
Delete All from server results pane.
Clicked the X button to close it down.

The virtual server it was last connected to had been brought down prior to my actions.

Exception follows:

SQL Multi Script

Object reference not set to an instance of an object.

at DevExpress.Data.DataController.DoRefreshCore(Boolean useRowsKeeper)
at DevExpress.Data.DataController.DoRefresh(Boolean useRowsKeeper)
at DevExpress.Data.CurrencyDataController.DoRefresh(Boolean useRowsKeeper)
at DevExpress.Data.DataController.OnBindingListChangedCore(ListChangedEventArgs e)
at DevExpress.Data.CurrencyDataController.OnBindingListChangedCore(ListChangedEventArgs e)
at DevExpress.Data.DataController.OnBindingListChanged(ListChangedEventArgs e)
at DevExpress.Data.CurrencyDataController.RaiseOnBindingListChanged(ListChangedEventArgs e)
at DevExpress.Data.Helpers.ListDataControllerHelper.OnBindingListChanged(Object sender, ListChangedEventArgs e)
at System.ComponentModel.ListChangedEventHandler.Invoke(Object sender, ListChangedEventArgs e)
at System.ComponentModel.BindingList`1.OnListChanged(ListChangedEventArgs e)
at System.ComponentModel.BindingList`1.ClearItems()
at L.l(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.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)
Posts: 543
Joined: Mon Jul 25, 2005 10:42 pm
Location: Irvine, CA, USA

Postby Robert » Mon Dec 10, 2007 9:36 am


Thanks for the report. I've checked the code, and the point at which it's blowing up is just a call to BindingList.Clear()... so it looks like it could be a bug in the DevExpress grid.

Is this something you've seen multiple times, or was it just a one-off?

Robert Chipperfield
Red Gate
Posts: 412
Joined: Mon Oct 30, 2006 10:15 am
Location: Cambridge, UK

Postby PDinCA » Mon Dec 10, 2007 5:52 pm

First time...

But there again, I rarely reboot my machine unless it's essential...
Posts: 543
Joined: Mon Jul 25, 2005 10:42 pm
Location: Irvine, CA, USA

Return to SQL Multi Script 1

Who is online

Users browsing this forum: No registered users and 0 guests