I get this everytime I launch sourcetree.
Now when I click the top, it downloads and this appears again.
If I click the second, it just reopens this dialog. Doesn't open the Open File Dialog.
If I click the third it just reopens again.
and the 4th closes it and I can't use it.
Hi
Sourcetree stores a path to the git.exe it is using, when it starts it will run git.exe --version to check it is where it thinks it is etc.
If that git.exe -version fails it will pop this dialog.
It sounds like the git -version call is failing for some reason. Is there anything in %localappdata%\Atlassian\Sourcetree\Sourcetree.log?
Has Sourcetree successfully downloaded git? It should be in %localappdata%\Atlassian\Sourcetree\git_local. If it is and you open a console and run %localappdata%\Atlassian\Sourcetree\git_local\cmd\git.exe -version what does that give you back?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ERROR [2017-11-15 22:45:39,124] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-11-15 22:49:50,560] [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.Security.PageantSshKeyAgent.Launch(Boolean promptForKeyIfBlank, String keyfile)
at SourceTree.Security.DefaultSshKeyManager.LaunchSshAgent(Boolean promptForKeyIfBlank, String keyfile)
at SourceTree.AppRoot.OnboardIfRequired()
at SourceTree.AppRoot.OnStartup(StartupEventArgs e)
at SourceTree.App.OnStartup(StartupEventArgs e)
ERROR [2017-11-15 22:50:01,706] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately that error is not to do with finding Git, however that should be fixed in v2.3.5.0. What version are you running?
were you able to check the following?
Has Sourcetree successfully downloaded git? It should be in %localappdata%\Atlassian\Sourcetree\git_local. If it is and you open a console and run %localappdata%\Atlassian\Sourcetree\git_local\cmd\git.exe -version what does that give you back?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.