Database diagram error - Object reference not set to an instance of an obje

Evaluating trial version 5.5.0.1073, getting the following error periodically, I assume it’s doing a background save:

Object reference not set to an instance of an object.
Stack trace:
at Quest.Toad.ModelerDrawing.DrawingControls.RelationObject.WriteXml(XmlElement node)
at Quest.Toad.ModelerDrawing.DrawingControls.DiagramControl.WriteXml(XmlElement node)
at Quest.Toad.Diagramming.ErDiagramControl.DoFileSave(String file)
at Quest.Toad.Diagramming.DiagramForm.SaveAutoRecoveryFile(String file)
at Quest.Toad.DocumentRecovery.DocumentRecoveryManager.SaveRecoveryFile(DocumentForm documentForm)

Also get this error when trying to save a diagram:

System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.ModelerDrawing.DrawingControls.RelationObject.WriteXml(XmlElement node)
at Quest.Toad.ModelerDrawing.DrawingControls.DiagramControl.WriteXml(XmlElement node)
at Quest.Toad.Diagramming.ErDiagramControl.DoFileSave(String file)
at Quest.Toad.Diagramming.DiagramForm.DoFileSave(String file)
at Quest.Toad.Gui.MainForm.saveFileButton_ItemClick(Object sender, ItemClickEventArgs e)
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpress.XtraBars.BarItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarButtonItemLink.OnLinkAction(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.BarItemLink.OnLinkActionCore(BarLinkAction action, Object actionArgs)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.ClickLink(BarItemLink link)
at DevExpress.XtraBars.ViewInfo.BarSelectionInfo.UnPressLink(BarItemLink link)
at DevExpress.XtraBars.Controls.CustomLinksControl.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.XtraBars.Controls.DockedBarControl.WndProc(Message& msg)
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)

Let me know if any more details will help

MB

Hello,
you definetelly have some issues with file saving. You are right - first error is about autosaving documents and second appears when you try to save it manually.

Toad stores temp files in this directory:
\Toad for SQL Server 5.5 Trial\Document Recovery\

you can access App Data filder from Help->About form.

When do you see second error - on just pressing Save button or when you press OK in Save dialog?

Are you able to save any ther document to the same place - let’s saye Editor file.

regards,
Alex