meebey / smuxi

Smuxi is an user-friendly and free IRC client for Linux, Windows and Mac OS X based on GNOME / GTK+
https://smuxi.im/
GNU General Public License v2.0
171 stars 46 forks source link

News feed runs into System.Net.HttpWebRequest.cctor() exception on Mono 5.18 #288

Closed meebey closed 3 years ago

meebey commented 3 years ago

Mono version: 5.18.0.240 (Debian 10)

Full stack-trace: 2020-09-27 14:50:46,440 [Thread Pool Worker] ERROR Smuxi.Engine.Session - UpdateNewsFeed(): Exception, ignored... System.TypeInitializationException: The type initializer for 'System.Net.HttpWebRequest' threw an exception. ---> System.ArgumentNullException: Value cannot be null. Parameter name: property at System.Configuration.PropertyInformation..ctor (System.Configuration.ConfigurationElement owner, System.Configuration.ConfigurationProperty property) [0x0002f] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/PropertyInformation.cs:51 at System.Configuration.ElementInformation..ctor (System.Configuration.ConfigurationElement owner, System.Configuration.PropertyInformation propertyInfo) [0x0003c] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/ElementInformation.cs:46 at System.Configuration.ConfigurationElement.InitFromProperty (System.Configuration.PropertyInformation propertyInfo) [0x00000] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationElement.cs:64 at System.Configuration.PropertyInformation.get_Value () [0x0002d] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/PropertyInformation.cs:112 at System.Configuration.PropertyInformation.Reset (System.Configuration.PropertyInformation parentProperty) [0x00016] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/PropertyInformation.cs:135 at System.Configuration.ElementInformation.Reset (System.Configuration.ElementInformation parentInfo) [0x0002f] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/ElementInformation.cs:93 at System.Configuration.ConfigurationElement.Reset (System.Configuration.ConfigurationElement parentElement) [0x0000d] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationElement.cs:474 at System.Configuration.Configuration.GetSectionInstance (System.Configuration.SectionInfo config, System.Boolean createDefaultInstance) [0x000b8] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/Configuration.cs:305 at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00032] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationSectionCollection.cs:68 at System.Configuration.Configuration.GetSection (System.String sectionName) [0x00062] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/Configuration.cs:265 at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs:61 at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in /build/mono-5.18.0.240+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs:159 at System.Configuration.ConfigurationSettings.GetConfig (System.String sectionName) [0x00000] in /build/mono-5.18.0.240+dfsg/mcs/class/System/System.Configuration/ConfigurationSettings.cs:62 at System.Net.HttpWebRequest..cctor () [0x00019] in /build/mono-5.18.0.240+dfsg/mcs/class/System/System.Net/HttpWebRequest.cs:146 --- End of inner exception stack trace --- at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr) at System.Net.HttpRequestCreator.Create (System.Uri uri) [0x00000] in /build/mono-5.18.0.240+dfsg/mcs/class/System/System.Net/HttpRequestCreator.cs:41 at System.Net.WebRequest.Create (System.Uri requestUri, System.Boolean useUriBase) [0x000ac] in /build/mono-5.18.0.240+dfsg/mcs/class/referencesource/System/net/System/Net/WebRequest.cs:196 at System.Net.WebRequest.Create (System.String requestUriString) [0x00011] in /build/mono-5.18.0.240+dfsg/mcs/class/referencesource/System/net/System/Net/WebRequest.cs:242 at Smuxi.Engine.Session.UpdateNewsFeed () [0x00025] in /usr/local/src/smuxi-cloud/src/Engine/Session.cs:1952

meebey commented 3 years ago

Issue not reproducible, maybe a race condition

meebey commented 3 years ago

issue notification test, please ignore