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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


SourceTree 2.3.1 Windows will not launch

A fresh install on Windows 10 (never installed before), and it will not launch.  Tried all of the remedies in other threads to no avail.  That includes:

1) Deleting the AppData\Local\Atlassian\SoureTree.exe_Url... directory
2) De-intalling and then...
3) Deleting the AppData\Local\Atlassian and AppData\Local\SourceTree directories

The sourcetree log shows:

ERROR [2017-09-21 12:29:08,609] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-09-21 12:29:08,766] [1] [SourceTree.App] [OnStartup] - Failed to start
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
at SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
at SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](String title, String message, Tuple`2 customAction, String cancelLabel, String suppressionSetting, Action`1 suppressionChangedAction, Object contentControl, String contentCommandLabel, Action contentAction)
at SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
at SourceTree.Configuration.WpfSpellCheckerPreFlightCheck.Run()
at SourceTree.AppRoot.RunPreFlightChecks()
at SourceTree.AppRoot.OnStartup(StartupEventArgs e)
at SourceTree.App.OnStartup(StartupEventArgs e)

Any suggestions?

8 answers

Have you tried navigating to the config file location (C:\Users\{USERNAME}\AppData\Local\Atlassian\SourceTree.exe_{RANDOM_GUID}\\user.config) and then including the following line

<setting name="AutomaticallyCleanUpDictionaryFiles" serializeAs="String"> 

I was having the same problem as the OP, including the same stack trace and symptoms, and this answer solved my issues.

Thanks Austin!

You da man!!!  Yes, adding that to the user.config worked!  The installer kicked off on the next launch.  Thank you!

This worked for me as well.

This worked for me too.

Other 'solutions' like uninstalling/reinstalling, or deleting everything in \AppData\Local\Atlassian\SourceTree.exe{GUID} did not work.

Even the installer failed to start until I let it fail once then added this AutomaticallyCleanUpDictionaryFiles setting.

And me! Thanks for taking the time to post this. 

Another morning wasted trying to figure this out myself!!!

This worked for me too. Thanks!!!

Quite an annoying bug. I lost all my config reinstalling and reinstalling. :/

Same with me.  Tried all the other suggested solutions for fixing this behavior and nothing worked.  Almost posted my own question until I found stumbled upon this thread.

Many thanks Austin!

This worked for me! Thank you so much!! :-)

Thanks a lot! Worked for me too..

I was having this problem too, tried all the other suggested solutions and this is the only thing that worked, thanks a lot!!

Thanks, It resolved my issue.

Fixes the issue. THANK YOU.

This fixed the problem thanks!

Fixed the issue. Thanks!!!

Worked for meee ! =D Thanks :))

Thanks, it worked. Just wonder why this simple fix is not applied to the product yet. 

Works, thanks! I agree with Joe Park, why isn't this line included within the user.config already?

This solved my issue as well.  I had already switched to GitKraken on this machine so I could continue to work until I had time to look into this bug.  I am disappointed this has been known about for so long, has caused so many issues but isn't included.  

thanks for the fix. Now I'm off to see what other horrors await me in land. Just switched from 1.9 and it has been. not pleasant.

1/9 to 2.0 switch is a pain. Dear atlassian, please listen to your users

Do not like the install and unpack every time you run

Do not like that you have put the program in user directories rather than in program files

Do not like that you apparently don't bother checking your install programs work


I need the program. But I hate what you've done to it.

Had the same issue, thanks.


The installation process is simply terrible and a big oversight at the company's part.

Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Nov 07, 2017

@Tom Tanner if you'd like to be able to install Sourcetree in a different path, you might be interested in voting for SRCTREEWIN-7168. You can also watch the ticket to be notified of future updates.


1 vote
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 04, 2017

We have a fix for this being tested at the moment.

Is this fix available yet? Sourcetree just stopped working one day. I uninstalled it and tried to re-install, but the installer just seems to stop after a while. Icon is placed in start window, but it can't be started.

Like lissandrobassani likes this

I tried this on a VM, and found that the install is never fully completing on the development platform.  I have no idea why.  It launches, shows the splash screen and then stops.  The desktop icon is created, but the configuration dialog never appears.

I had the same issue - Austin Mason's solution above worked for me to fix this as well.

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Oct 18, 2017

Hi everyone! As an update for this question, we have just started the progressive rollout of Sourcetree v2.3.5.0 which includes a fix for this issue. You should be prompted to upgrade sometime over the next 14 days or, alternatively, you can download the update directly from

Have a nice day!


ST was crashing for me on some specific repo (with two worktrees), no matter how many times I did reinstall it or the lines added to the config file.

Version is working (so far).

Well, so far. I've clicked "Jump to" and it crashed!

FYI, 2.3.1 was working yesterday, so it's not strictly related to the worktrees.

It's working with other repos.

This installer is also crashing before completing the setup

Neither nor work.

However, I found a copy of and that one works great. 

Renamed SourceTree, SourceTree-Settings and tmpAtlassian to tmpSourceTree, tmpSourceTree-Settings and tmpAtlassian on C:\Users\{user}\AppData\Local .
In my case, worked.

Cleaning the windows temp dirs worked for me. Same issue before.

Tried that - no effect.  Same results.

I even tried installing on a stock VM (where it succeeded), connecting to a repository, then copying the files to the problem system.  It still generated the same error in the logs.

Checked the OS (no problems found), and tried other clients (i.e., GitKraken - all worked), but SourceTree has some issue that I can't pin down. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events