Forums

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

sourcetree stop launching window10

Pon Pricha June 19, 2023

I have last used Sourcetree on last Wed, 14Jun2023. Then since 19Jun. it has stopped launching with the following error found in sourcetree.log:

ERROR [2023-06-20 11:31:47,083] [1] [Sourcetree.Composition.VSMef.Net471.VSMefCompositionManager] [Log] - Unable to load MEF components
System.InvalidOperationException: Sequence contains no elements
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Microsoft.VisualStudio.Composition.PartDiscovery.GetElementTypeFromMany(Type type)
at Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteTypeWithoutCollection

 

2 answers

1 accepted

0 votes
Mukesh Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 19, 2023

Hi @Pon Pricha 

 

During windows update installation sometimes following cache files get corrupted and cause this issue: Assemblies.cache,  Composition.cache
These files are present at following location: C:\Users\<User>\AppData\Local\Atlassian\SourceTree.exe_<random_string>\<version_number>

Deleting above 2 files can resolve the issue.

Sourcetree will regenerate these files when you re-run Sourcetree.

 

We have resolved this issue and it will be available in upcoming Sourcetree release (3.4.14) soon.

Pon Pricha June 20, 2023

Thanks for answer. I just rename this directory to

a-SourceTree.exe_Url_rysqzdr4uh4oe0ulsneahvqamwjd0aec

Then it resolved. When launching, the new one is created with the same structure and files.

Like # people like this
Lars Radoor Hansen
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!
June 29, 2023

Thanks for answer. It works :-)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events