[mapguide-trac] #1785: Error making new resource after saving another new resource

MapGuide Open Source trac_mapguide at osgeo.org
Fri Aug 19 10:44:55 EDT 2011


#1785: Error making new resource after saving another new resource
-----------------------+----------------------------------------------------
   Reporter:  andrewd  |       Owner:  jng  
       Type:  defect   |      Status:  new  
   Priority:  low      |   Milestone:       
  Component:  Maestro  |     Version:  2.2.0
   Severity:  trivial  |    Keywords:       
External_id:           |  
-----------------------+----------------------------------------------------
 Open Maestro and log into your server. Without doing anything else at all,
 create a new resource. Save it (anywhere). Try to make another resource
 and you'll get the following 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.Commands.NewItemCommand.Run() in d:\Workspace\maestro-
 trunk\Maestro.Base\Commands\NewItemCommand.cs:line 45
    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)


 You will keep getting that error when trying to make a new resource until
 you click on something in the Site Explorer.

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


More information about the mapguide-trac mailing list