It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Source tree 3.0.15.2611 does not start

I had an old SourceTree 1.6.22.0 installed on a windows 7 machine and decided to update to the latest version 3.0.15.2611. Installation seamed to go fine but at startup i see the sourcetree logo and then the process dies silently after 20-30 seconds.

In the loggs i get this message. Any ideas what to do? I have tried reinstalling.

ERROR [2019-02-01 15:30:37,383] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration Analytics
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Host.Bitbucket.BitbucketHost.GetCanonicalUri(IConfigurationManager configurationManager)
at SourceTree.Host.Bitbucket.BitbucketHost.get_CanonicalUrl()
at SourceTree.Accounts.LegacyAccountPersistenceService.ConvertFromHostedAccounts(IEnumerable`1 hostedAccounts)
at SourceTree.Accounts.LegacyAccountPersistenceService.LoadAccounts()
at SourceTree.Accounts.AccountManager.LoadHostedAccounts()
at SourceTree.Accounts.AccountManager.get_HostedAccounts()
at SourceTree.UI.OnboardingManager.SubmitStartedRegistrationAnalytics()
ERROR [2019-02-01 15:30:39,099] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration Analytics
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Host.Bitbucket.BitbucketHost.GetCanonicalUri(IConfigurationManager configurationManager)
at SourceTree.Host.Bitbucket.BitbucketHost.get_CanonicalUrl()
at SourceTree.Accounts.LegacyAccountPersistenceService.ConvertFromHostedAccounts(IEnumerable`1 hostedAccounts)
at SourceTree.Accounts.LegacyAccountPersistenceService.LoadAccounts()
at SourceTree.Accounts.AccountManager.LoadHostedAccounts()
at SourceTree.Accounts.AccountManager.get_HostedAccounts()
at SourceTree.Accounts.AccountManager.GetDefaultIdentityAccount()
at SourceTree.UI.OnboardingManager.SubmitFinishedRegistrationAnalytics(Boolean onboardingResult)
ERROR [2019-02-01 15:30:39,114] [1] [SourceTree.App] [Log] - Failed to start
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Host.Bitbucket.BitbucketHost.GetCanonicalUri(IConfigurationManager configurationManager)
at SourceTree.Host.Bitbucket.BitbucketHost.get_CanonicalUrl()
at SourceTree.Accounts.LegacyAccountPersistenceService.ConvertFromHostedAccounts(IEnumerable`1 hostedAccounts)
at SourceTree.Accounts.LegacyAccountPersistenceService.LoadAccounts()
at SourceTree.Accounts.AccountManager.LoadHostedAccounts()
at SourceTree.Accounts.AccountManager.get_HostedAccounts()
at SourceTree.Accounts.AccountManager.GetDefaultIdentityAccount()
at SourceTree.UI.ViewModel.Welcome.AtlassianAccountStageViewModel.Activated()
at SourceTree.UI.View.Welcome.WelcomeWizardWindow..ctor(IBookmarkManager bookmarkManager, IInteractionsManager interactionsManager, IWebManager webManager, IDispatcher sourceTreeDispatcher, IConfigurationManager configurationManager, IAccountManager accountManager, IRepositoryManager repositoryManager, IDvcsManager dvcsManager, IRepoProcessFactory repoProcessFactory, IDownloadManager downloadManager, IHostManager hostManager, IHostUiManager hostUiManager, IAnalyticsDataManager analyticsDataManager, INotificationsManager notificationsManager, IEnumerable`1 stages)
at SourceTree.UI.OnboardingManager.Run()
at SourceTree.AppRoot.OnboardIfRequired()
at SourceTree.AppRoot.<OnStartup>d__31.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SourceTree.App.<OnStartup>d__6.MoveNext()

1 answer

0 votes
minnsey Atlassian Team Feb 04, 2019

Hi

I'd suggest deleting the %localappdata%/Atlassian/Sourcetree/accounts.json file. It looks like there might be an issue with its format in such a large update jump.

Depending on how tied you are to the existing configuration, I would suggest backing up that directory, then deleting it a and doing a clean re-install.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,927 views 0 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you