Sourcetree stopped working
Asked by sergio_vasconcelos:

Hi,

My source tree just won't launch, without any modification on my end (windows 10).

Already tried:

* Deleting every app data combinations of folders possible described though out this forum and others, and restarting the pc
* Uninstalling and installing again 3 times and restarting pc.

Thanks.


Answers:
author: sergio_vasconcelos
body: Workaround described here worked:

[https://jira.atlassian.com/browse/SRCTREEWIN-7898](https://jira.atlassian.com/browse/SRCTREEWIN-7898?_ga=2.156412285.770991882.1506090359-532982310.1475135215)


author: sergio_vasconcelos
body: Some more info:

* sourcetree version 2.3.1.0
* Log:

```
ERROR [2017-09-22 15:48:29,438] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-09-22 15:48:29,702] [1] [SourceTree.App] [OnStartup] - Failed to start
System.NullReferenceException: A refer?ncia de objecto n?o foi definida como uma inst?ncia de um objecto.
 em SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
 em SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
 em 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)
 em SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
 em SourceTree.Configuration.WpfSpellCheckerPreFlightCheck.Run()
 em SourceTree.AppRoot.RunPreFlightChecks()
 em SourceTree.AppRoot.OnStartup(StartupEventArgs e)
 em SourceTree.App.OnStartup(StartupEventArgs e)
ERROR [2017-09-22 15:49:33,620] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-09-22 15:49:33,744] [1] [SourceTree.App] [OnStartup] - Failed to start
System.NullReferenceException: A refer?ncia de objecto n?o foi definida como uma inst?ncia de um objecto.
 em SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
 em SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
 em 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)
 em SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
 em SourceTree.Configuration.WpfSpellCheckerPreFlightCheck.Run()
 em SourceTree.AppRoot.RunPreFlightChecks()
 em SourceTree.AppRoot.OnStartup(StartupEventArgs e)
 em SourceTree.App.OnStartup(StartupEventArgs e)
ERROR [2017-09-22 15:54:30,898] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-09-22 15:54:31,030] [1] [SourceTree.App] [OnStartup] - Failed to start
System.NullReferenceException: A refer?ncia de objecto n?o foi definida como uma inst?ncia de um objecto.
 em SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
 em SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
 em 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)
 em SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
 em SourceTree.Configuration.WpfSpellCheckerPreFlightCheck.Run()
 em SourceTree.AppRoot.RunPreFlightChecks()
 em SourceTree.AppRoot.OnStartup(StartupEventArgs e)
 em SourceTree.App.OnStartup(StartupEventArgs e)
```


Tags: bug