Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-13825

Sourcetree for Windows crash after a few seconds.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 3.4.14
    • 3.4.8
    • Bitbucket
    • None
    • Major

    Description

      Sourcetree for Windows crash after a few seconds.

       

      Sourcetree logs:

      ERROR [2023-06-01 15:13:03,030] [1] [SourceTree.Model.Repository] [Log] - Repository: [] does not exist
      ERROR [2023-06-01 15:13:03,702] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration Analytics
      System.NullReferenceException: Object reference not set to an instance of an object.
         at SourceTree.Accounts.DefaultAccountPersistenceService.<>c_DisplayClass12_0.<FixHostInstances>b_0(IHost h)
         at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
         at SourceTree.Accounts.DefaultAccountPersistenceService.FixHostInstances(List`1 accounts)
         at SourceTree.Accounts.DefaultAccountPersistenceService.LoadFromFile(String filePath, JsonSerializer jsonSerializer)
         at SourceTree.Accounts.DefaultAccountPersistenceService.LoadAccounts()
         at SourceTree.Accounts.AccountManager.LoadHostedAccounts()
         at SourceTree.Accounts.AccountManager.get_HostedAccounts()
         at SourceTree.UI.OnboardingManager.SubmitStartedRegistrationAnalytics()
      ERROR [2023-06-01 15:13:03,827] [1] [SourceTree.UI.OnboardingManager] [Log] - Unable to submit Finished Registration Analytics
      System.NullReferenceException: Object reference not set to an instance of an object.
         at SourceTree.Accounts.DefaultAccountPersistenceService.<>c_DisplayClass12_0.<FixHostInstances>b_0(IHost h)
         at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
         at SourceTree.Accounts.DefaultAccountPersistenceService.FixHostInstances(List`1 accounts)
         at SourceTree.Accounts.DefaultAccountPersistenceService.LoadFromFile(String filePath, JsonSerializer jsonSerializer)
         at SourceTree.Accounts.DefaultAccountPersistenceService.LoadAccounts()
         at SourceTree.Accounts.AccountManager.LoadHostedAccounts()
         at SourceTree.Accounts.AccountManager.get_HostedAccounts()
         at SourceTree.Accounts.AccountManager.GetDefaultIdentityAccount()
         at SourceTree.UI.OnboardingManager.SubmitFinishedRegistrationAnalytics(Boolean onboardingResult)
      ERROR [2023-06-01 15:13:03,842] [1] [SourceTree.App] [Log] - Failed to start
      System.NullReferenceException: Object reference not set to an instance of an object.
         at SourceTree.Accounts.DefaultAccountPersistenceService.<>c_DisplayClass12_0.<FixHostInstances>b_0(IHost h)
         at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
         at SourceTree.Accounts.DefaultAccountPersistenceService.FixHostInstances(List`1 accounts)
         at SourceTree.Accounts.DefaultAccountPersistenceService.LoadFromFile(String filePath, JsonSerializer jsonSerializer)
         at SourceTree.Accounts.DefaultAccountPersistenceService.LoadAccounts()
         at SourceTree.Accounts.AccountManager.LoadHostedAccounts()
         at SourceTree.Accounts.AccountManager.get_HostedAccounts()
         at SourceTree.Accounts.AccountManager.GetDefaultIdentityAccount()
         at SourceTree.UI.ViewModel.Welcome.AtlassianAccountStageViewModel.Activated()
         at SourceTree.UI.View.Welcome.WelcomeWizardWindow..ctor(IBookmarkManager bookmarkManager, IInteractionsManager interactionsManager, IWebManager webManager, IDispatcher sourceTreeDispatcher, IConfigurationManager configurationManager, IAccountManager accountManager, IRepositoryManager repositoryManager, IDvcsManager dvcsManager, IRepoProcessFactory repoProcessFactory, IDownloadManager downloadManager, IHostManager hostManager, IHostUiManager hostUiManager, IAnalyticsDataManager analyticsDataManager, INotificationsManager notificationsManager, IEnumerable`1 stages)
         at SourceTree.UI.WelcomeWizardManager.Run()
         at SourceTree.UI.OnboardingManager.Run()
         at SourceTree.AppRoot.OnboardIfRequired()
         at SourceTree.AppRoot.<OnStartup>d__24.MoveNext()
      — End of stack trace from previous location where exception was thrown —
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
         at SourceTree.App.<OnStartup>d__4.MoveNext()

      Attachments

        Activity

          People

            Unassigned Unassigned
            e0806aa98f09 pankaj gupta
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: