Closed GoogleCodeExporter closed 9 years ago
Could you provide the entire stack trace if possible?
Original comment by asky...@google.com
on 16 May 2012 at 8:34
Stack trace:
System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
at Google.Apis.Requests.Request.BuildRequest() in c:\googlecode\google-api-dotnet-client\5-4-2012\default\Src\GoogleApis\Apis\Requests\Request.cs:line 597
at Google.Apis.Requests.Request.CreateWebRequest(Action`1 onRequestReady) in
c:\googlecode\google-api-dotnet-client\5-4-2012\default\Src\GoogleApis\Apis\Requ
ests\Request.cs:line 667
at Google.Apis.Requests.Request.ExecuteRequestAsync(Action`1 responseHandler)
in c:\googlecode\google-api-dotnet-client\5-4-2012\default\Src\GoogleApis\Apis\Requests\Request.cs:line 435
at Google.Apis.Requests.ServiceRequest`1.GetAsyncResponse(Action`1 responseHandler) in c:\googlecode\google-api-dotnet-client\5-4-2012\default\Src\GoogleApis
\Apis\Requests\ServiceRequest.cs:line 162
at Google.Apis.Requests.ServiceRequest`1.GetResponse() in c:\googlecode\google-api-dotnet-client\5-4-2012\default\Src\GoogleApis\Apis\Requests\ServiceRequest
.cs:line 182
at Google.Apis.Requests.ServiceRequest`1.Fetch() in c:\googlecode\google-api-dotnet-client\5-4-2012\default\Src\GoogleApis\Apis\Requests\ServiceRequest.cs:li
ne 203
at Translate.TranslateText.Program.Main(String[] args) in D:\Documents\Code\google-api-examples\Translate.TranslateText\Program.cs:line 62
Original comment by dome...@googlemail.com
on 17 May 2012 at 9:17
Original comment by asky...@google.com
on 17 May 2012 at 3:50
Original comment by asky...@google.com
on 17 May 2012 at 5:41
Fixed in CL
http://code.google.com/p/google-api-dotnet-client/source/detail?r=097b1662b7ee50
f7f165e1c7e5858711411ca624
http://codereview.appspot.com/6210068/
Original comment by asky...@google.com
on 21 May 2012 at 5:34
thank you! it all works fine now.
Original comment by dome...@googlemail.com
on 24 May 2012 at 9:58
Original issue reported on code.google.com by
dome...@googlemail.com
on 16 May 2012 at 8:21