Removing + adding the same server throws duplicate server exception (Bug #116)


Added by Daniel Nauck about 8 years ago.


Status:New Start date:09/23/2009
Priority:Normal Due date:
Assignee:Craig Sutherland % Done:

0%

Category:Monitor Spent time: -
Target version:Monitor Release

Description

Following error is thrown while i was remoting the server "build.nauck-it.de" using the "Remove" button in the settings dialog and readded it.

System.InvalidOperationException: Unable to safely invoke method ---> System.Exception: Duplicate server (http://build.nauck-it.de-build.nauck-it.de)- unable to add server
   bei FastForward.WinCore.ServerList.AddServer(ServerConfig value)
   bei FastForward.Monitor.MainForm.UpdateServers(List`1 previousServers)
   bei FastForward.Monitor.MainForm.ReloadAfterSettingsChange(SettingsForm settingsForm)
   bei FastForward.Monitor.MainForm.<>c__DisplayClass1d.<ChangeSettings>b__1c()
   bei FastForward.WinCore.ControlUtils.SafeInvoke(Control control, Action action)
   --- Ende der internen Ausnahmestapel├╝berwachung ---
   bei FastForward.WinCore.ControlUtils.SafeInvoke(Control control, Action action)
   bei FastForward.Monitor.MainForm.<>c__DisplayClass1d.<ChangeSettings>b__1b(Object o, EventArgs a)
   bei FastForward.Monitor.SettingsForm.okButton_Click(Object sender, EventArgs e)
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Steps to reproduce:

  1. open the settings dialog
  2. delete a existing server
  3. use add dialog to add the same server again
  4. click ok

Related issues

related to FastForward.NET - Bug #117: Errors reported New 10/14/2009

History

Also available in: Atom PDF