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

Why Sourcetree keeps crashing???

Partha Mandayam March 13, 2019

IT happened on two consecutive days.

When I started up Sourcetree, it just popped up the registration form again

I had to complete installation and clone all my repositories again

Also I had to delete c:\users\admin\gitconfig file as it had got corrupted and wouldn't recognise my repository 

Why does this happen?

How to prevent it?

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2019

Hi Partha, welcome to the Community!

We'll need more information to troubleshoot this issue and investigate what is causing Sourcetree to crash:

  1. Are you using Windows or Mac? Which version?
  2. Does it happen right after you clone the repositories? Is it triggered by any other action?
  3. Have you checked the logs? Is there any valuable information there?
  4. Did you have a look to any similar cases in our Community? You can find some examples here  or here.
  5. Can you send us a screenshot of what you see right after you start up Sourcetree?

Kind regards,

Ana

Partha Mandayam March 20, 2019

I'm using Windows 10

It happened suddenly and Sourcetree went back to install screen and I had to repeat the installation

IT happened continuously for 2 days last week

Of late it's not happening

I looked at the log for 3/13/2019 which is when the problem occurred

Here's the log

=========================================================

ERROR [2019-03-13 09:50:59,323] [5] [SourceTree.Diagnostics.FailureHandler] [Log] - 'git tag' failed with code -1: (c:\bitbucket\integrity-reports-localization)
ERROR [2019-03-13 09:50:59,417] [5] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 09:50:59,417] [5] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to invoke async action [System.Action] dispatcher is null
ERROR [2019-03-13 09:50:59,448] [5] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 09:50:59,448] [5] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 10:00:58,061] [25] [SourceTree.Diagnostics.FailureHandler] [Log] - 'git tag' failed with code -1: (c:\bitbucket\integrity-reports-localization)
ERROR [2019-03-13 10:00:58,070] [25] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 10:00:58,070] [25] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 19:29:53,104] [27] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 19:29:53,167] [27] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 19:29:53,238] [56] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 19:29:53,239] [56] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 19:29:53,366] [24] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Dispatcher Application.Current is null
ERROR [2019-03-13 19:29:53,367] [24] [SourceTree.Scheduler.SourceTreeDispatcher] [Log] - Unable to get Thread dispatcher is null
ERROR [2019-03-13 21:52:17,345] [1] [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent
ERROR [2019-03-13 21:52:23,535] [1] [SourceTree.ViewModel.RepositoryTabContainerViewModel] [Log] - Failed to load open tabs
System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read1_ArrayOfString()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at System.Xml.Serialization.XmlSerializer.Deserialize(Stream stream)
at SourceTree.ViewModel.RepositoryTabContainerViewModel.LoadOpenTabs()
ERROR [2019-03-13 21:53:00,119] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:53:00,121] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:53:00,122] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 21:53:16,641] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:53:16,642] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 21:53:16,666] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:54:00,529] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:54:00,530] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 21:54:00,839] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:54:18,852] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:54:18,853] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 21:54:19,946] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:54:55,042] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 21:54:55,411] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 21:54:55,412] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:04:30,015] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:04:30,015] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:04:30,016] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:04:53,483] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:04:53,524] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:04:53,525] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:04:56,121] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:04:56,282] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:04:56,283] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:04:56,983] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:04:57,001] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:04:57,002] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host
ERROR [2019-03-13 22:06:37,171] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list repositories for user [pm999]
ERROR [2019-03-13 22:06:37,197] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Failed to list teams for user [pm999]
ERROR [2019-03-13 22:06:37,198] [1] [SourceTree.Exceptions.RemoteHostException] [Log] - Unable to read memberships for the user from the remote host

 

=======================================================

See if you can make out anything from this log

I can't send you a screenshotr since the error is no longer occurring but basically it just went back to the install screen and I had to reinstall and clone all my repositories again

Mark Oostveen September 29, 2020

Hey, I'm also getting this error followed by a crash:

"Unable to set owner as parent is not visible or non-existent"

It only occurs when opening the "Edit Hosting Account" window by either clicking on "Add Account" in authentication in settings or directly from the home page under the Remote tab

tried reinstalling and throwing all cache/squirrel temp and register entries away, but this issue persists...

 

2020-09-29T13:00:02: LogHost: Initializing to normal modeERROR [2020-09-29 13:00:40,535] [1] [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events