Toad World® Forums

Issue when changing an editor tab


#1

Occasionally, When I click on an editor tab that also changes from a connection one one server to a connection on a different server, I get the following exception.
This doesn’t happen always, but once it starts happening, it continues to happen until I restart Toad.

System.NullReferenceException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.SqlServer.ActionHandler.DTC.DTCInvoke…ctor()
at Quest.Toad.SqlServer.Trl.DTC.DTCListTrl.get_ImageIndex()
at Quest.Toad.DatabaseBrowser.ObjectPaletteControl.SetNodeImage(TreeListNode node, ITrl trl)
at Quest.Toad.DatabaseBrowser.ObjectPaletteControl.RebuildUI()
at Quest.Toad.DatabaseBrowser.ObjectPaletteControl.set_CurrentType(String value)
at Quest.Toad.DatabaseBrowser.ObjectPaletteControl.SetActiveTrl(ITrl trl)
at Quest.Toad.DatabaseBrowser.ObjectPaletteControl.ConnectionChangedHandler(Object sender, ConnectionEventArgs e)
at Quest.Toad.Notification.ConnectionChangedEventHandler.Invoke(Object sender, ConnectionEventArgs e)
at Quest.Toad.Notification.NotificationManager.ConnectionChanged(Object sender, Connection connection)
at Quest.Toad.ConnectionManager.ConnectionHierarchy.set_CurrentConnection(Connection value)
at Quest.Toad.Util.Global.set_CurrentConnection(Connection value)
at Quest.Toad.Gui.DocumentConnectionFollower.ConnectionChanged(Object sender, EventArgs args)
at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()