[Mapguide-trac] [mapguide-trac] #2176: Can't delete connection

MapGuide Open Source trac_mapguide at osgeo.org
Fri Nov 16 03:47:52 PST 2012


#2176: Can't delete connection
--------------------------+-------------------------------------------------
   Reporter:  osjonathan  |       Owner:  jng        
       Type:  defect      |      Status:  new        
   Priority:  low         |   Milestone:  Maestro-5.0
  Component:  Maestro     |     Version:             
   Severity:  major       |    Keywords:             
External_id:              |  
--------------------------+-------------------------------------------------
 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)

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2176>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list