Opened 12 years ago
Closed 12 years ago
#2176 closed defect (worksforme)
Can't delete connection
Reported by: | osjonathan | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | Maestro-5.0 |
Component: | Maestro | Version: | |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
I have a connection on site explore. It keeps bugging out with "session lost". So I click the layer and then the little red X. It asks me to delete it and I say "yes". This then gives me the below error.
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at Maestro.Base.UI.SiteExplorer.get_ConnectionName() in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Maestro.Base\UI\SiteExplorer.cs:line 113 at Maestro.Base.UI.SiteExplorer.trvResources_SelectionChanged(Object sender, EventArgs e) in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Maestro.Base\UI\SiteExplorer.cs:line 88 at Aga.Controls.Tree.TreeViewAdv.OnSelectionChanged() in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Thirdparty\TreeViewAdv\Aga.Controls\Tree\TreeViewAdv.cs:line 105 at Aga.Controls.Tree.TreeViewAdv.EndUpdate() in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Thirdparty\TreeViewAdv\Aga.Controls\Tree\TreeViewAdv.cs:line 355 at Aga.Controls.Tree.TreeViewAdv.set_SelectedNode(TreeNodeAdv value) in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Thirdparty\TreeViewAdv\Aga.Controls\Tree\TreeViewAdv.Properties.cs:line 689 at Maestro.Base.UI.SiteExplorer.RefreshModel(String connectionName, String resId) in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Maestro.Base\UI\SiteExplorer.cs:line 193 at Maestro.Base.Commands.SiteExplorer.DeleteSelectedItemsCommand.Run() in c:\Program Files (x86)\Jenkins\jobs\Maestro trunk\workspace\Maestro.Base\Commands\SiteExplorer\DeleteSelectedItemsCommand.cs:line 85 at ICSharpCode.Core.WinForms.ToolBarCommand.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) 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)
Cannot reproduce