Bug #2006

exception when unable to retrieve credentials

Added by Panagiotis Louridas over 11 years ago. Updated about 11 years ago.

Status:Closed Start date:02/07/2012
Priority:Medium Due date:
Assignee:- % Done:

0%

Category:- Spent time: -
Target version:PreAlpha

Description

When setting up an account, if the credentials cannot be retrieved I get the following exception:

[Error] Index was outside the bounds of the array.
System.IndexOutOfRangeException: Index was outside the bounds of the array.

Server stack trace:
at Pithos.Client.WPF.PithosAccount.<ParseResponse>b__1a(String[] arr)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at Pithos.Client.WPF.PithosAccount.ParseResponse(String request)
at Pithos.Client.WPF.PithosAccount.<ListenForRedirectAsync>d__a.MoveNext()

Exception rethrown at [0]:
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Pithos.Client.WPF.Preferences.AddAccountViewModel.<RetrieveCredentials>d__1.MoveNext()

Exception rethrown at [1]:
at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.<SetException>b__0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)


Related issues

related to Pithos MS Client - Bug #2172: Retrieve credentials no longer works Closed 03/07/2012

History

#1 Updated by Panagiotis Kanavos over 11 years ago

  • Target version set to PreAlpha

#2 Updated by Panagiotis Kanavos about 11 years ago

  • Status changed from New to Closed

Solved by hosting the web browser in an application page

Also available in: Atom PDF