Bug #999

avatar

System.Net.HttpWebRequest..cctor() throws ArgumentException

Added by Mirco Bauer 3408 days ago.

Status:New Start:11/28/2014
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

0%

Category:Engine
Target version:-
Complexity:

Medium

Found in Version:

Votes: 0

Description

2014-11-28 18:43:30,439 [Threadpool worker] ERROR Smuxi.Engine.Session - UpdateNewsFeed(): Exception, ignored...
System.TypeInitializationException: An exception was thrown by the type initializer for System.Net.HttpWebRequest ---> System.ArgumentException: Key duplication when adding: settings
  at System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) [0x00137] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:737 
  at System.Collections.Hashtable.Add (System.Object key, System.Object value) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:400 
  at System.Collections.Specialized.NameObjectCollectionBase.BaseAdd (System.String name, System.Object value) [0x0004c] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Collections.Specialized/NameObjectCollectionBase.cs:426 
  at System.Collections.Specialized.NameObjectCollectionBase.BaseSet (System.String name, System.Object value) [0x00030] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Collections.Specialized/NameObjectCollectionBase.cs:598 
  at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00048] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationSectionCollection.cs:69 
  at System.Configuration.Configuration.GetSection (System.String path) [0x0006a] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/Configuration.cs:261 
  at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs:61 
  at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs:162 
  at System.Configuration.ConfigurationSettings.GetConfig (System.String sectionName) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Configuration/ConfigurationSettings.cs:85 
  at System.Net.HttpWebRequest..cctor () [0x0000a] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/HttpWebRequest.cs:118 
  --- End of inner exception stack trace ---
  at System.Net.HttpRequestCreator.Create (System.Uri uri) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/HttpRequestCreator.cs:41 
  at System.Net.WebRequest.Create (System.Uri requestUri) [0x00017] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/WebRequest.cs:282 
  at System.Net.WebRequest.Create (System.String requestUriString) [0x00011] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/WebRequest.cs:275 
  at Smuxi.Engine.Session.UpdateNewsFeed () [0x00026] in /home/meebey/Projects/smuxi-rest/src/Engine/Session.cs:1920 
2014-11-28 18:43:30,444 [Threadpool worker] DEBUG TRACE - [smuxi-engine.dll] Session.UpdateNewsFeed()
2014-11-28 18:43:30,446 [Threadpool worker] ERROR Smuxi.Engine.Session - UpdateNewsFeed(): Exception, ignored...
System.TypeInitializationException: An exception was thrown by the type initializer for System.Net.HttpWebRequest ---> System.ArgumentException: Key duplication when adding: settings
  at System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) [0x00137] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:737 
  at System.Collections.Hashtable.Add (System.Object key, System.Object value) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:400 
  at System.Collections.Specialized.NameObjectCollectionBase.BaseAdd (System.String name, System.Object value) [0x0004c] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Collections.Specialized/NameObjectCollectionBase.cs:426 
  at System.Collections.Specialized.NameObjectCollectionBase.BaseSet (System.String name, System.Object value) [0x00030] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Collections.Specialized/NameObjectCollectionBase.cs:598 
  at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00048] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationSectionCollection.cs:69 
  at System.Configuration.Configuration.GetSection (System.String path) [0x0006a] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/Configuration.cs:261 
  at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs:61 
  at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs:162 
  at System.Configuration.ConfigurationSettings.GetConfig (System.String sectionName) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Configuration/ConfigurationSettings.cs:85 
  at System.Net.HttpWebRequest..cctor () [0x0000a] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/HttpWebRequest.cs:118 
  --- End of inner exception stack trace ---
  at System.Net.HttpRequestCreator.Create (System.Uri uri) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/HttpRequestCreator.cs:41 
  at System.Net.WebRequest.Create (System.Uri requestUri) [0x00017] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/WebRequest.cs:282 
  at System.Net.WebRequest.Create (System.String requestUriString) [0x00011] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/WebRequest.cs:275 
  at Smuxi.Engine.Session.UpdateNewsFeed () [0x00026] in /home/meebey/Projects/smuxi-rest/src/Engine/Session.cs:1920 
2014-11-28 18:43:30,446 [Threadpool worker] DEBUG TRACE - [smuxi-engine.dll] Session.UpdateNewsFeed()
2014-11-28 18:43:30,446 [Main] INFO  Smuxi.Server.Server - Spawned remoting server with channel: TCP formatter: binary port: 7690
2014-11-28 18:43:30,446 [Threadpool worker] ERROR Smuxi.Engine.Session - UpdateNewsFeed(): Exception, ignored...
System.TypeInitializationException: An exception was thrown by the type initializer for System.Net.HttpWebRequest ---> System.ArgumentException: Key duplication when adding: settings
  at System.Collections.Hashtable.PutImpl (System.Object key, System.Object value, Boolean overwrite) [0x00137] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:737 
  at System.Collections.Hashtable.Add (System.Object key, System.Object value) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/corlib/System.Collections/Hashtable.cs:400 
  at System.Collections.Specialized.NameObjectCollectionBase.BaseAdd (System.String name, System.Object value) [0x0004c] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Collections.Specialized/NameObjectCollectionBase.cs:426 
  at System.Collections.Specialized.NameObjectCollectionBase.BaseSet (System.String name, System.ObjectLoaded assembly: /usr/lib/mono/gac/System.Runtime.Serialization/4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
 value) [0x00030] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Collections.Specialized/NameObjectCollectionBase.cs:598 
  at System.Configuration.ConfigurationSectionCollection.get_Item (System.String name) [0x00048] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationSectionCollection.cs:69 
  at System.Configuration.Configuration.GetSection (System.String path) [0x0006a] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/Configuration.cs:261 
  at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ClientConfigurationSystem.cs:61 
  at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System.Configuration/System.Configuration/ConfigurationManager.cs:162 
  at System.Configuration.ConfigurationSettings.GetConfig (System.String sectionName) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Configuration/ConfigurationSettings.cs:85 
  at System.Net.HttpWebRequest..cctor () [0x0000a] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/HttpWebRequest.cs:118 
  --- End of inner exception stack trace ---
  at System.Net.HttpRequestCreator.Create (System.Uri uri) [0x00000] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/HttpRequestCreator.cs:41 
  at System.Net.WebRequest.Create (System.Uri requestUri) [0x00017] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/WebRequest.cs:282 
  at System.Net.WebRequest.Create (System.String requestUriString) [0x00011] in /build/mono-hKI1Iw/mono-3.2.8+dfsg/mcs/class/System/System.Net/WebRequest.cs:275 
  at Smuxi.Engine.Session.UpdateNewsFeed () [0x00026] in /home/meebey/Projects/smuxi-rest/src/Engine/Session.cs:1920

Also available in: Atom PDF