Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Not able to start the sourcetree after install on windows 10 Edited

I am not able to start the source tree.

Afer install, i was able to start one time.

I have installed Git later, now i am not able to start the sourcetree.

getting below error in sourcetree.log:

Also creating a newfile with below content

2020-03-02T10:14:23: CompositionException [Errors exist in the composition.]

 

ERROR [2020-03-02 10:12:47,370] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - SourceTree.Host.Bitbucket.BitbucketCredentialsAdapter.ctor(remoteHostAuthenticationManager): expected exactly 1 export of SourceTree.Accounts.IRemoteHostAuthenticationManager but found 0.
ERROR [2020-03-02 10:12:47,370] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - SourceTree.Host.Bitbucket.BitbucketHost.ctor(credentialsAdapter): expected exactly 1 export of SourceTree.Accounts.ICredentialsAdapter`1[System.Tuple`2[System.String,System.String]] but found 0.
ERROR [2020-03-02 10:14:23,529] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - CompositionException [Errors exist in the composition.]
ERROR [2020-03-02 10:14:23,561] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - SourceTree.Api.Account.OAuth.TwoZero.OAuthTwoZeroBearerAuthenticationManager.ctor(oauthTwoZeroInteractionsManager): expected exactly 1 export of SourceTree.Accounts.IRemoteHostAuthenticationInteractionsManager`1[SourceTree.Api.Account.OAuth.TwoZero.IOAuthTwoZeroOAuthConfiguration] but found 2.
SourceTree.Api.Account.OAuth.TwoZero.OAuthTwoZeroAuthenticationInteractionsManager
SourceTree.Account.OAuth.TwoZero.UI.Wpf.OAuthTwoZeroAuthenticationInteractionsManager
ERROR [2020-03-02 10:14:23,561] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - SourceTree.Host.Bitbucket.BitbucketCredentialsAdapter.ctor(remoteHostAuthenticationManager): expected exactly 1 export of SourceTree.Accounts.IRemoteHostAuthenticationManager but found 0.
ERROR [2020-03-02 10:14:23,576] [1] [Sourcetree.Composition.VSMef.Net471.CompositionExceptionHelper] [Log] - SourceTree.Host.Bitbucket.BitbucketHost.ctor(credentialsAdapter): expected exactly 1 export of SourceTree.Accounts.ICredentialsAdapter`1[System.Tuple`2[System.String,System.String]] but found 0.

 

1 answer

Ran into the same issue and the main clue was: 

expected exactly 1 export of SourceTree.Accounts.IRemoteHostAuthenticationInteractionsManager`1[SourceTree.Api.Account.OAuth.TwoZero.IOAuthTwoZeroOAuthConfiguration] but found 2.

After uninstalling SourceTree there was still some leftover cruft  in the C:\Program Files (x86)\Atlassian\Sourcetree path:
SourceTree.png

Deleting the C:\Program Files (x86)\Atlassian\Sourcetree folder and then reinstalling SourceTree resolved the issue for me.

Suggest an answer

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

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

3,262 views 4 5
Read article

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