Upgraded to 2.3.1 and now SourceTree won't open Edited

This happens every other time I update, and I end up having to revert to an older version. Incredibly frustrating as someone who uses Sourcetree almost every day. Just wanted to share so maybe the devs can fix this...

EDIT: Windows 10 on a Surface Book

1 answer

0 votes

Do you get any response at all?

Worth checking:

Sourcetree has installed to %localappdata%\SourceTree\app-2.3.1
Running ether %localappdata%\Sourcetree\SourceTree.exe OR %localappdata%\Sourcetree\app-2.3.1\SourceTree.exe shoudl start the app.

Check, using Task Manager that there isn't a instance of Sourcetree already left running in the background, if there is any new instance of Sourcetree will see it and defer to it.

Anything relevant in %localappdata%\Atlassian\SourceTree\sourcetree.log or the Event Viewer?

Same issue here. No response (no quick popups, etc.) and no instance already running. Tried starting the app from both %localappdata%\Sourcetree\SourceTree.exe and %localappdata%\Sourcetree\app-2.3.1\SourceTree.exe to no avail. Here's what showed up in %localappdata%\Atlassian\SourceTree\sourcetree.log:

ERROR [2017-09-13 16:23:43,362] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-09-13 16:23:43,507] [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)

I ended up uninstalling and reinstalling the latest from https://www.sourcetreeapp.com/ ( but will hold off on upgrading for now.

That looks like a bug assigning the parent window to a popup notification window.

I've created this issue to track https://jira.atlassian.com/browse/SRCTREEWIN-7908

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

947 views 3 2
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you