#986843 smuxi-engine: Crash when editing server information

#986843#5
Date:
2021-04-12 19:04:04 UTC
From:
To:
I'm trying to edit server information through the gnome frontend and when
I validate the changes I get this crash:
----
Exception Type:
System.ArgumentNullException

Exception Message:
Value cannot be null.
Parameter name: value

Exception StackTrace:
  at Smuxi.Engine.UserConfig.Set (System.String key, System.Object value) [0x00079] in /build/smuxi-gSW6uG/smuxi-1.1/src/Engine/Config/UserConfig.cs:159
  at Smuxi.Engine.UserConfig.set_Item (System.String key, System.Object value) [0x00004] in /build/smuxi-gSW6uG/smuxi-1.1/src/Engine/Config/UserConfig.cs:101
  at (wrapper remoting-invoke-with-check) Smuxi.Engine.UserConfig.set_Item(string,object)
  at Smuxi.Engine.ServerModel.Save (Smuxi.Engine.UserConfig config) [0x00135] in /build/smuxi-gSW6uG/smuxi-1.1/src/Engine/Config/ServerModel.cs:232
  at Smuxi.Engine.ServerListController.SetServer (Smuxi.Engine.ServerModel server) [0x00029] in /build/smuxi-gSW6uG/smuxi-1.1/src/Engine/Config/ServerListController.cs:178
  at Smuxi.Frontend.Gnome.ServerListView.Edit (Smuxi.Engine.ServerModel server) [0x0006e] in /build/smuxi-gSW6uG/smuxi-1.1/src/Frontend-GNOME/Preferences/ServerListView.cs:183
  at Smuxi.Frontend.Gnome.ServerListView.OnEditButtonClicked (System.Object sender, System.EventArgs e) [0x0002a] in /build/smuxi-gSW6uG/smuxi-1.1/src/Frontend-GNOME/Preferences/ServerListView.cs:256
----

I have attached the screenshot of the screen with the data that I'm
saving.

I do use a ssh connection between the engine and the frontend. The
engine side is running smuxi-engine 1.0.7-5.

#986843#10
Date:
2021-04-12 19:14:28 UTC
From:
To:
I confirme the bug. :(

Le 12/04/2021 à 21:04, Raphaël Hertzog a écrit :