Toad 数据点在启动时崩溃

问题描述 投票:0回答:2

我在启动 Toad Data Point 时遇到错误。每当我尝试打开它时,它都会崩溃。该错误显示:“Toad 遇到严重错误,必须关闭。请保存您的数据并关闭应用程序。对于给您带来的不便,我们深表歉意”。

日志错误显示:

---------------------------------------------
NullReferenceException
Object reference not set to an instance of an object.

Stack Trace: 
   at Quest.Toad.ConnectionManager.ConnectMediator.IsEqual(ConnectMediator mediator, Boolean ignorePath, Boolean ignorName)
   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.RepositoryItem.GetDisplayText(FormatInfo format, Object editValue)
   at DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit.GetDisplayText(FormatInfo format, Object editValue)
   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.GetEditSize(GraphicsCache cache)
   at DevExpress.XtraBars.ViewInfo.BarEditLinkViewInfo.CalcLinkIndent(BarIndent linkIndent)
   at DevExpress.XtraBars.ViewInfo.BarLinkViewInfo.CalcConstants()
   at DevExpress.XtraBars.ViewInfo.BarLinkViewInfo.CalcLinkSize(GraphicsCache cache, Object sourceObject)
   at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcLinkSize(BarItemLink link, GraphicsCache cache, Object sourceObject, BarLinkViewInfo linkInfo)
   at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.PreCalcMultiLineSize(GraphicsCache cache, Object sourceObject, Int32 AMaxBarWidth, Int32& ARestWidth)
   at DevExpress.XtraBars.ViewInfo.DockedBarControlViewInfo.PreCalcMultiLineSize(GraphicsCache cache, Object sourceObject, Int32 AMaxBarWidth, Int32& ARestWidth)
   at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.PreCalcBarDrawInfo(GraphicsCache cache, Object sourceObject, Int32 width)
   at DevExpress.XtraBars.ViewInfo.BarControlViewInfo.CalcBarSize(GraphicsCache cache, Object sourceObject, Int32 width, Int32 maxHeight)
   at DevExpress.XtraBars.Controls.CustomControl.CalcSize(Int32 width, Int32 maxHeight)
   at DevExpress.XtraBars.BarDockControl.IsEmpty(IDockableObject dockable)
   at DevExpress.XtraBars.BarDockControl.AddDockable(IDockableObject dockObject, Int32 rowIndex, Int32 colIndex, Boolean updateIndexes)
   at DevExpress.XtraBars.Bar.ApplyDocking(BarDockInfo dockInfo, Boolean applyFloatingBarLocation)
   at DevExpress.XtraBars.Utils.BarManagerDockingHelper.UpdateBarDocking(Boolean applyFloatingBarLocation)
   at DevExpress.XtraBars.Utils.BarManagerLoadHelper.LoadCore()
   at DevExpress.XtraBars.Utils.BarManagerLoadHelper.Load()
   at DevExpress.XtraBars.BarManager.OnFormLoadComplete(Object sender, EventArgs e)
   at DevExpress.XtraBars.BarManager.OnEndInit()
   at DevExpress.XtraEditors.Container.ComponentEditorContainer.EndInit()
   at Quest.Toad.Gui.MainForm.InitializeComponent()
   at Quest.Toad.Gui.MainForm..ctor()
   at Quest.Toad.StartupForm.MainAppicationEntryPoint(String[] args)
   at Quest.Toad.ToadProcessEntryPoint.Main(String[] args)
toad toad-data-point
2个回答
0
投票

我通过删除保存在“C:\Users\AppData\Roaming\Quest Software\Toad Data Point 5.4”的connections.xml 文件来修复它 现在可以正常加载,没有任何问题


0
投票

谢谢!我遇到了同样的问题,你的修复对我有用。我只需要导入我保存的连接,因为根据您的修复删除“坏”版本后它们变为空白。

© www.soinside.com 2019 - 2024. All rights reserved.