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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

SourceTree crashes on startup, System.InvalidOperationException. Edited

Hi.

There is a problem with my copy of sourcetree. It starts only once after clean install. After it's closed and I try to restart it, the process is terminated almost immediately and I get this log message:

ERROR [2017-08-01 13:30:57,276] [1] [SourceTree.App] [OnStartup] - Failed to start
System.InvalidOperationException: Właściwości Owner nie można ustawić dla obiektu typu Window, który nie został wcześniej wyświetlony.
   w System.Windows.Window.set_Owner(Window value)
   w SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
   w SourceTree.Repo.RepoHandlerGitOld.CheckLargeFilesInstalled(Boolean fixAndpromptUser)
   w SourceTree.Repo.RepoHandlerGitOld.CheckIfGitLfsRequiredForRepo(String path, Boolean fixAndpromptUser)
   w SourceTree.Repo.RepoHandlerGitOld.CheckConfigForRepo(String path, Boolean fixAndpromptUser)
   w SourceTree.ViewModel.RepositoryTabContainerViewModel.AddNew(String path, Boolean wasCloned, RepoViewMode atView, String viewData)
   w SourceTree.ViewModel.RepositoryTabContainerViewModel.AddOrActivate(String path, RepoViewMode atView, String viewData)
   w SourceTree.ViewModel.RepositoryTabContainerViewModel.OpenRepoInTab(String path, RepoViewMode atView, String viewData)
   w SourceTree.AppRoot.SingleInstanceOpenRepo(Boolean isFirstInstance, String targetRepo, RepoViewMode view, String data)
   w SourceTree.AppRoot.ProcessArguments(Boolean isFirstInstance)
   w SourceTree.AppRoot.DoWindowStartupTasks()
   w 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)
   w 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)
   w SourceTree.AppRoot.OnStartup(StartupEventArgs e)

any ideas, please?

1 answer

1 accepted

1 vote
Answer accepted
Ana Retamal Atlassian Team Aug 02, 2017

Hi Michał, looks like you're affected by this bug SRCTREEWIN-7373.

Please, download and install the latest Git-LFS version from https://git-lfs.github.com/. This will re-install Git-LFS and should ensure SourceTree can find it.

Let us know if this worked for you! If you are still experiencing issues after this, remember to provide which Windows version are you using so we can continue helping you.

Cheers,

Ana

Hi Ana, thank you for your help.

IT WORKED. I cannot express in any concise way, what a relief and good news this is. After following your instructions sourcetree started without any problems and works stable. Oh, and I was using Windows 10 Pro(x64).

Once again, thank you for great support.
Cheers,

Michał

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

3,280 views 19 18
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you