Toad World® Forums

Error exporting connectionless grid


#1

Howdy,

In Beta 5.0.0.87, I’m using Group Execute to run a query in the editor
against multiple databases. It works great, but if I have not made a
connection (e.g. in the Connection Manager) and I try to export the results
grid to Excel, I get this:

System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.ImportExport.FieldOption.Update(Connection con)
at Quest.Toad.ImportExport.FieldOption…ctor(FastColumn column,
Connection con)
at
Quest.Toad.ImportExport.ExportWizard.PopulateTableFieldsFromResultSet(FastTable
table)
at
Quest.Toad.ImportExport.ExportWizard.wizardPageFieldsAdvanced_ShowFromNext(Object
sender, EventArgs e)
at Quest.Toad.Controls.Wizard.WizardPage.OnShowFromNext(Wizard wiz)
at Quest.Toad.Controls.Wizard.Wizard.Next()
at Quest.Toad.Controls.Wizard.Wizard.btnNext_Click(Object sender,
EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnClick(EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.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)

If I cancel the export and make a connection, then the export works, even
without rerunning the query.

Thanks!
Rich


#2

In Beta 5.0.0.87, I’m using Group Execute to run a query in the editor
against multiple databases. It works great, but if I have not made a
connection (e.g. in the Connection Manager) and I try to export the results
grid to Excel, I get this:

System.NullReferenc eException
Object reference not set to an instance of an object.

I just checked and this is fixed and all happy in beta .133.

THANKS!!! :slight_smile:

Rich