Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sourcetree crashes after switching to Remote tab

Lukáš Kratochvíl July 27, 2020

Hello,

when I switch to remote tab (remote repositories) then Sourcetree suddenly crashes. There are two log entries that occures when the crash happens. The entries are: 

ERROR [2020-07-28 07:33:45,605] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2020-07-28 07:33:56,343] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [olafvolafka]

Does anyone have the same problem? Or does anyone have solution to this? 

 

4 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

15 votes
Albert Chua
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2020

Manage to resolve this by refreshing my Access Tokens via Tools\Options\Authentication.

sbloor
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 13, 2020

This helped me today.

Like Albert Chua likes this
Max November 30, 2020

Also fixed it for me.

Like Albert Chua likes this
yurambo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 3, 2020

Nice, this helped me too. Thank you Albert!

Like Albert Chua likes this
Fausto January 7, 2021

Same here. Thank you. I clicked Edit and Ok. Got an authenthication OK messake. Resolved.

Like Albert Chua likes this
libin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 7, 2021

Thanks. it saved my time also. Good catch... Albert

nasim_nosrati_geeksltd
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 26, 2021

Thanks! It worked for me too!

2 votes
gteubl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 30, 2020

I had the same issues and I saw in log that the problem was with an broken github account.

So I went to C:\Users\{user}\AppData\Roaming\Atlassian\SourceTree and I deleted the broken account at accounts.json.

Everything works like a charm!

 

Error on Event Viewer:

Application: SourceTree.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: SourceTree.Exceptions.RestApiException
at SourceTree.Host.GitHub.AbstractGitHubHost+<ListGroupingsForUser>d__39.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at SourceTree.ViewModel.Hosted.HostedProjectsViewModel+<RefreshGroupingList>d__95.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at SourceTree.ViewModel.Hosted.HostedProjectsViewModel+<<-ctor>b__47_8>d.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at SourceTree.App.Main()
0 votes
Albert Chua
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 5, 2020

I have the same problem when clicking on the remote repositories with v3.3.9.

ERROR [2020-08-06 00:41:23,040] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
ERROR [2020-08-06 00:41:47,398] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [xxxxx]

Found this in the Event Viewer.

Application: SourceTree.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: SourceTree.Exceptions.ConnectivityException
at SourceTree.Host.Bitbucket.BitbucketHost+<ListGroupingsForUser>d__35.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at SourceTree.ViewModel.Hosted.HostedProjectsViewModel+<RefreshGroupingList>d__95.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at SourceTree.ViewModel.Hosted.HostedProjectsViewModel+<<-ctor>b__47_8>d.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
at System.Windows.Application.RunDispatcher(System.Object)
at System.Windows.Application.RunInternal(System.Windows.Window)
at SourceTree.App.Main()

Faulting application name: SourceTree.exe, version: 3.3.9.3870, time stamp: 0x5ec58c28
Faulting module name: KERNELBASE.dll, version: 10.0.18362.535, time stamp: 0x50cc8d5a
Exception code: 0xe0434352
Fault offset: 0x000000000003a839
Faulting process id: 0x538c
Faulting application start time: 0x01d66b473fb76e7a
Faulting application path: C:\Users\albert\AppData\Local\SourceTree\app-3.3.9\SourceTree.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 72c6a408-79ae-4ec6-add3-a032ad9046dc
Faulting package full name:
Faulting package-relative application ID:

Arnoud de Bekker
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 11, 2022

Also having this problem and same exception in the log. But i can pull the repository using an url, so there is no problem with authentication. I updated sourcetree afterwards and now I get an error saying: "endpoint removed for listing teams". Strange, since it worked perfectly last week

Like Adam Acree likes this
Adam Acree
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 16, 2022

Same issue here, getting the  log message "ERROR [2022-03-16 16:11:12,941] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [anacree]"

Any fix for this from Atlassian?

0 votes
Kolham
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 29, 2020

Same problem here for first time today.

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events