Hello dear Sourcetree support Team.
SourceTre Version 3.4.13
The application crashes while loading remote repositories.
Clicking on "Remote" Button the application crashes.
I found the error below in windows Application events
Applicazione: SourceTree.exe
Versione framework: v4.0.30319
Descrizione: il processo è stato terminato a causa di un'eccezione non gestita.
Informazioni sull'eccezione: Newtonsoft.Json.JsonReaderException
in Newtonsoft.Json.JsonTextReader.ParseValue()
in Newtonsoft.Json.JsonReader.ReadForType(Newtonsoft.Json.Serialization.JsonContract, Boolean)
in Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Newtonsoft.Json.JsonReader, System.Type, Boolean)
in Newtonsoft.Json.JsonSerializer.DeserializeInternal(Newtonsoft.Json.JsonReader, System.Type)
in Newtonsoft.Json.JsonConvert.DeserializeObject(System.String, System.Type, Newtonsoft.Json.JsonSerializerSettings)
in SourceTree.Host.Bitbucket.RefitApiExceptionWrapper..ctor(Refit.ApiException)
in SourceTree.Host.Bitbucket.RefitApiExceptionGenerator.GenerateFromApiException(System.String, Refit.ApiException, SourceTree.Model.IAccount)
in SourceTree.Host.Bitbucket.RefitApiExceptionGenerator.GenerateException(System.String, System.Exception, SourceTree.Model.IAccount)
in SourceTree.Host.Bitbucket.BitbucketHost+<ListGroupingsForUser>d__35.MoveNext()
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
in System.Runtime.CompilerServices.TaskAwaiter`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResult()
in SourceTree.ViewModel.Hosted.HostedProjectsViewModel+<RefreshGroupingList>d__97.MoveNext()
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
in System.Runtime.CompilerServices.TaskAwaiter.GetResult()
in SourceTree.ViewModel.Hosted.HostedProjectsViewModel+<<-ctor>b__49_8>d.MoveNext()
in System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
in System.Windows.Threading.DispatcherOperation.InvokeImpl()
in MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
in System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
in System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
in MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
in System.Windows.Threading.DispatcherOperation.Invoke()
in System.Windows.Threading.Dispatcher.ProcessQueue()
in System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
in MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
in MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
in MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
in System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
in System.Windows.Application.RunDispatcher(System.Object)
in System.Windows.Application.RunInternal(System.Windows.Window)
in SourceTree.App.Main()
Community moderators have prevented the ability to post new answers.
Hi @caino
Your stack trace shows that Sourcetree is failing to parse an error response from the Bitbucket account, rather than a problem with the repositories themselves. I would remove the stored Bitbucket account under Tools > Options > Authentication, restart Sourcetree, then add the account again and update to the current version. If the crash still happens, let us know which host type the account uses.
Cheers, Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.