Opened 13 years ago
Closed 13 years ago
#1785 closed defect (wontfix)
Error making new resource after saving another new resource
Reported by: | andrewd | Owned by: | jng |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | Maestro | Version: | 2.2.0 |
Severity: | trivial | Keywords: | |
Cc: | External ID: |
Description
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.
The ability to re-produce this situation has been removed with the introduction of multiple site support. Nothing needs (or will) be done here.