Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

sourcetree can not install on windows 10

yanxianping
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 8, 2022

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
yanxianping
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 8, 2022

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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events