I'm running the Export Wizard to export a data set from the data grid, but by accident I was no longer connected to the database. Thus when running the Export Wizard and finalizing the export, I receives the following Exception Error:
System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.ImportExport.ExportWizard.wizardPageFileFormat_CloseFromNext(Object sender, PageEventArgs e)
at Quest.Toad.Controls.Wizard.WizardPage.OnCloseFromNext(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)
Steps to replicate in-house:
1. Open connection to an Oracle database.
2. Run a query that produces datasets.
3. Disconnect from the Oracle database, the Editor will still have the results set.
4. Export the data by right-clicking and selecting Export | Export Wizard.
5. Upon pressing the Next button in the Wizard, the exception dialog occurs.
This does not happen if the connection is still open.
WORKAROUND:
None.
STATUS:
Waiting for fix on a future release of Toad for Data Analysts.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center