• Severity 1 - Critical

      Installed the new 2.0.20.1 version after uninstalling the previous 1.9.* version. Program runs fine when it's opened by the installer. Attempting to run the program afterwards the program immediately crashes silently.

      The log file reads;

      ERROR [2017-06-02 00:06:42,547] [1] [SourceTree.App] [OnStartup] - Failed to start
      System.InvalidOperationException: Cannot set Owner property to a Window that has not been shown previously.
      at System.Windows.Window.set_Owner(Window value)
      at SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
      at SourceTree.Repo.RepoHandlerGitOld.CheckLargeFilesInstalled(Boolean fixAndpromptUser)
      at SourceTree.Repo.RepoHandlerGitOld.CheckIfGitLfsRequiredForRepo(String path, Boolean fixAndpromptUser)
      at SourceTree.Repo.RepoHandlerGitOld.CheckConfigForRepo(String path, Boolean fixAndpromptUser)
      at SourceTree.ViewModel.RepositoryTabContainerViewModel.AddNew(String path, Boolean wasCloned, RepoViewMode atView, String viewData)
      at SourceTree.ViewModel.RepositoryTabContainerViewModel.AddOrActivate(String path, RepoViewMode atView, String viewData)
      at SourceTree.ViewModel.RepositoryTabContainerViewModel.OpenRepoInTab(String path, RepoViewMode atView, String viewData)
      at SourceTree.AppRoot.SingleInstanceOpenRepo(Boolean isFirstInstance, String targetRepo, RepoViewMode view, String data)
      at SourceTree.AppRoot.ProcessArguments(Boolean isFirstInstance)
      at SourceTree.AppRoot.DoWindowStartupTasks()
      at SourceTree.ViewModel.MainWindowViewModel..ctor(IRepositoryTabContainerViewModel repositoryTabContainerViewModel, ICustomActionsManager customActionsManager, IRepositoryManager repositoryManager, IAnalyticsDataManager analyticsDataManager, ITraceManager traceManager, IDispatcher dispatcher, IAccountManager accountManager, IFailureHandler failureHandler, IDvcsManager dvcsManager, IConfigurationManager configurationManager, IInstanceManager instanceManager, ISchedulerManager schedulerManager, IWebManager webManager, IRepositoryMonitorManager repositoryMonitorManager, ISshKeyManager sshKeyManager, INotificationsManager notificationsManager, IPreferencesManager preferencesManager)
      at SourceTree.MainWindow..ctor(IRepositoryTabContainerViewModel repositoryTabContainerViewModel, ICustomActionsManager customActionsManager, IRepositoryManager repositoryManager, IAnalyticsDataManager analyticsDataManager, ITraceManager traceManager, IDispatcher dispatcher, IAccountManager accountManager, IFailureHandler failureHandler, IDvcsManager dvcsManager, IConfigurationManager configurationManager, IInstanceManager instanceManager, ISchedulerManager schedulerManager, IWebManager webManager, IRepositoryMonitorManager repositoryMonitorManager, IApplicationManager applicationManager, ISshKeyManager sshKeyManager, INotificationsManager notificationsManager, IBookmarkManager bookmarkManager, IPreferencesManager preferencesManager)
      at SourceTree.AppRoot.OnStartup(StartupEventArgs e)
      at SourceTree.App.OnStartup(StartupEventArgs e)
      
      

            [SRCTREEWIN-7373] Doesn't start with System.InvalidOperationException

            slawomir borkowski added a comment - - edited

            +1. I've the same issue and error log entry. v2.0.20.1. Windows 8.1.

            slawomir borkowski added a comment - - edited +1. I've the same issue and error log entry. v2.0.20.1. Windows 8.1.

            minnsey added a comment -

            Hi,

            If you are still experiencing this issue can you download and install the latest Git-LFS version from here: https://git-lfs.github.com/

            This will re-install Git-LFS and should ensure SourceTree can find it.

            Thanks

            minnsey added a comment - Hi, If you are still experiencing this issue can you download and install the latest Git-LFS version from here: https://git-lfs.github.com/ This will re-install Git-LFS and should ensure SourceTree can find it. Thanks

              Unassigned Unassigned
              9324e0760076 Michael Kenny
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: