Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,180
Community Members
 
Community Events
168
Community Groups

sourcetree can not install on windows 10

ERROR [2022-08-09 08:46:32,592] [1] [SourceTree.App] [Log] - Failed to start
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 SourceTree.Accounts.DefaultAccountPersistenceService.FixHostInstances(List`1 accounts)
在 SourceTree.Accounts.DefaultAccountPersistenceService.LoadFromFile(String filePath, JsonSerializer jsonSerializer)
在 SourceTree.Accounts.DefaultAccountPersistenceService.LoadAccounts()
在 SourceTree.Accounts.AccountManager.LoadHostedAccounts()
在 SourceTree.Accounts.AccountManager.get_HostedAccounts()
在 SourceTree.Accounts.AccountManager.HasAccountOfType[T]()
在 SourceTree.UI.OnboardingManager.HasValidIdentityAccount()
在 SourceTree.UI.OnboardingManager.get_Completed()
在 SourceTree.AppRoot.OnboardIfRequired()
在 SourceTree.AppRoot.<OnStartup>d__24.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 System.Runtime.CompilerServices.TaskAwaiter.GetResult()
在 SourceTree.App.<OnStartup>d__4.MoveNext()

1 answer

1 accepted

1 vote
Answer accepted

C:\Users\<***>\AppData\Roaming\Atlassian\SourceTree\accounts

企业微信截图_1660013323324.png
Delete the above and restart SourceTree

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events