Toad World® Forums

Error when switching tabs


#1

I keep getting this message when I switch tabs. It only happens after I have
opened many tabs, even though I don’t have all of them open. For example, I have
a tab named “untitled27” but only have 4 tabs open right now.

System.NullReferenc eException
Object reference not set to an instance of an object.
Stack Trace:
at Quest.Toad.SqlServe r.ActionHandler. DTC.DTCInvoke. .ctor()
at Quest.Toad.SqlServe r.Trl.DTC. DTCListTrl. get_ImageIndex( )
at Quest.Toad.Database Browser.ObjectPa letteControl. SetNodeImage( TreeListNode
node, ITrl trl)
at Quest.Toad.Database Browser.ObjectPa letteControl. RebuildUI( )
at Quest.Toad.Database Browser.ObjectPa letteControl. set_CurrentType( String
value)
at Quest.Toad.Database Browser.ObjectPa letteControl. SetActiveTrl( ITrl trl)
at Quest.Toad.Database Browser.ObjectPa letteControl. ConnectionChange dHandler(
Object sender, ConnectionEventArgs e)
at Quest.Toad.Notifica tion.ConnectionC hangedEventHandl er.Invoke( Object
sender, ConnectionEventArgs e)
at Quest.Toad.Notifica tion.Notificatio nManager. ConnectionChange d(Object
sender, Connection connection)
at Quest.Toad.Connecti onManager. ConnectionHierar chy.set_CurrentC onnection(
Connection value)
at Quest.Toad.Util. Global.set_ CurrentConnectio n(Connection value)
at Quest.Toad.Gui. DocumentConnecti onFollower. ConnectionChange d(Object
sender, EventArgs args)
at System.Windows. Forms.Control. InvokeMarshaledC allbackDo( ThreadMethodEntr y
tme)
at System.Windows. Forms.Control. InvokeMarshaledC allbackHelper( Object obj)
at System.Threading. ExecutionContext .runTryCode( Object userData)
at System.Runtime. CompilerServices .RuntimeHelpers. ExecuteCodeWithG
uaranteedCleanup (TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading. ExecutionContext .RunInternal( ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading. ExecutionContext .Run(ExecutionCo ntext executionContext,
ContextCallback callback, Object state)
at System.Windows. Forms.Control. InvokeMarshaledC allback(ThreadMe thodEntry
tme)
at System.Windows. Forms.Control. InvokeMarshaledC allbacks( )

Tim