Toad World® Forums

Crashing upon Start

I have one machine where Toad Data Point 4.0 crashes when I start it with the error. I’ve removed and reinstalled it twice but the error does not go away. I’m trying to get an idea on what is causing the error. The Stack Trace is

NullReferenceException

Object reference not set to an instance of an object.

Stack Trace:

at Quest.Toad.ConnectionManager.ConnectMediator.IsEqual(ConnectMediator mediator, Boolean ignorePath)

at Quest.Toad.ConnectionManager.ConnectionHierarchy.FindExistingConnection(ConnListNode parent, ConnectMediator mediator, Boolean ignorePath)

at Quest.Toad.ConnectionManager.ConnectionHierarchy.FindExistingConnection(ConnListNode parent, ConnectMediator mediator, Boolean ignorePath)

at Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.AddConnections(StorageItem storageItem)

at Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.AddItems(StorageItem storageItem)

at Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.AddNodeItems(Boolean notify, Boolean ignorePath, ResultSet resultSet, ConnGroupNode groupNode, XmlNode platformNode)

at Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.XmlToNodes(XmlDocument xmlDoc, ConnectionHierarchy hierarchy, Boolean notify, Boolean ignorePath)

at Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.Load(ConnectionHierarchy connectionHierarchy, XmlDocument xmlDoc, Boolean notify, Boolean ignorePath)

at Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.Load(ConnectionHierarchy connectionHierarchy, Boolean notify)

at Quest.Toad.ConnectionManager.ConnectionHierarchy…ctor()

at Quest.Toad.ConnectionManager.ConnectionHierarchy.get_Instance()

at Quest.Toad.Gui.MainForm.repositoryItemCurrentConnection_CustomDisplayText(Object sender, CustomDisplayTextEventArgs e)

at DevExpress.XtraEditors.Repository.RepositoryItem.RaiseCustomDisplayText(CustomDisplayTextEventArgs e)

at DevExpress.XtraEditors.Repository.RepositoryItemTextEdit.RaiseCustomDisplayText(CustomDisplayTextEventArgs e)

at DevExpress.XtraEditors.Repository.RepositoryItem.RaiseCustomDisplayText(FormatInfo format, Object editValue, String displayText)

at DevExpress.XtraEditors.Repository.RepositoryItem.GetDisplayText(FormatInfo format, Object editValue)

at DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit.GetDisplayText(FormatInfo format, Object editValue)

at DevExpress.XtraEditors.ViewInfo.BaseEditViewInfo.GetDisplayText()

at DevExpress.XtraEditors.ViewInfo.TextEditViewInfo.GetDisplayText()

at DevExpress.XtraEditors.ViewInfo.BaseEditViewInfo.OnEditValueChanged()

at DevExpress.XtraEditors.ViewInfo.BaseEditViewInfo.set_EditValue(Object value)

at DevExpress.XtraBars.ViewInfo.BarEditLinkViewInfo.UpdateViewInfo(Point mousePosition)

at DevExpress.XtraBars.ViewInfo.BarEditLinkViewInfo.UpdateEditBounds(Graphics g, Rectangle r, Boolean isVertical)

at DevExpress.XtraBars.ViewInfo.BarEditLinkViewInfo.CalcHorizontalViewInfo(Graphics g, Object sourceObject, Rectangle r)

at DevExpress.XtraBars.ViewInfo.BarLinkViewInfo.CalcViewInfo(Graphics g, Object sourceObject, Rectangle r)

at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcHorizontalViewInfo(Graphics g, Object sourceObject, Rectangle rect)

at DevExpress.XtraBars.ViewInfo.DockedBarControlViewInfo.CalcHorizontalViewInfo(Graphics g, Object sourceObject, Rectangle rect)

at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcViewInfo(Graphics g, Object sourceObject, Rectangle rect)

at DevExpress.XtraBars.Controls.CustomControl.UpdateViewInfo()

at DevExpress.XtraBars.Controls.CustomLinksControl.UpdateViewInfo()

at DevExpress.XtraBars.Controls.CustomControl.OnResize(EventArgs e)

at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)

at DevExpress.XtraBars.Controls.DockedBarControl.OnSizeChanged(EventArgs e)

at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)

at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height)

at System.Windows.Forms.Control.SetBoundsCore(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)

at System.Windows.Forms.Control.SetBounds(Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified)

at System.Windows.Forms.Control.set_Bounds(Rectangle value)

at DevExpress.XtraBars.Bar.DevExpress.XtraBars.Utils.IDockableObject.set_Bounds(Rectangle value)

at DevExpress.XtraBars.BarDockControl.UpdateControlBounds(Int32 startN, Int32 endN, Int32 incN, Boolean updateSize)

at DevExpress.XtraBars.BarDockControl.DoLayout(Boolean updateSize)

at DevExpress.XtraBars.BarDockControl.DoLayout()

at DevExpress.XtraBars.BarDockControl.UpdateDockSize()

at DevExpress.XtraBars.BarDockControl.OnBarDockChanged()

at DevExpress.XtraBars.BarDockControl.EndUpdate()

at DevExpress.XtraBars.Bar.ApplyDocking(BarDockInfo dockInfo)

at DevExpress.XtraBars.Bar.DevExpress.XtraBars.Utils.IDockableObject.ApplyDocking(BarDockInfo dockInfo)

at DevExpress.XtraBars.Utils.BarManagerDockingHelper.UpdateBarDocking()

at DevExpress.XtraBars.Utils.BarManagerLoadHelper.LoadCore()

at DevExpress.XtraBars.Utils.BarManagerLoadHelper.Load()

at DevExpress.XtraBars.BarManager.ForceLinkCreate()

at DevExpress.XtraBars.BarManager.ForceInitialize()

at Quest.Toad.Gui.MainForm…ctor()

at Quest.Toad.StartupForm.MainAppicationEntryPoint(String[] args)

at Quest.Toad.ToadProcessEntryPoint.Main(String[] args)

Hello,

Unfortunately I’m not able to reproduce the problem. May I ask you, what database connections do you use?

You could try to solve the problem by removing the files Connections.xml and Settings.xml located in C:\Users<username>\AppData\Roaming\Quest Software\Toad Data Point 4.0.

But please be aware that you will lost your settings and database connections. You can backup the files and then import the connections from it.

Libor

Did removing these files correct the issue. From reading the error stack it seams like it should