Unhandled exception 1 while handling message with ID 30385ed0-dc40-4f28-b86f-fa61bc49f2f2: System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
at Ramone.ConnectionStatistics.RegisterConnection(HttpWebResponse response) in c:\Projects\Ramone\Ramone\ConnectionStatistics.cs:line 29
at Ramone.BaseRequest.HandleResponse(HttpWebResponse response, String method, Boolean includeBody, Action`1 requestModifier, Int32 retryLevel) in c:\Projects\Ramone\Ramone\BaseRequest.cs:line 358
at Ramone.BaseRequest.DoRequest(Uri url, String method, Boolean includeBody, Action`1 requestModifier, Int32 retryLevel) in c:\Projects\Ramone\Ramone\BaseRequest.cs:line 184
at Ramone.BaseRequest.DoRequest[TResponse](String method, Int32 retryLevel) in c:\Projects\Ramone\Ramone\BaseRequest.cs:line 165
at Ramone.Request.Post[TResponse](Object body) in c:\Projects\Ramone\Ramone\Request.cs:line 262
at Ramone.OAuth2.OAuth2Extensions.GetAndStoreAccessToken(ISession session, Object args, Boolean useAccessToken) in c:\Projects\Ramone\Ramone\OAuth2\OAuth2Extensions.cs:line 361
at Ramone.OAuth2.OAuth2Extensions.OAuth2_GetAccessTokenUsingOwnerUsernamePassword(ISession session, String ownerUserName, String ownerPassword, String scope, Boolean useAccessToken) in c:\Projects\Ramone\Ramone\OAuth2\OAuth2Extensions.cs:line 158
Got this error:
See for instance https://soemoetunlwin.wordpress.com/2010/06/11/indexoutofrangeexception-in-dictionary-insert-method/