Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

SourceTree crashes on startup.

SourceTree crashes on startup. We're running Windows 10. This seems to be an issue with recent releases. Version 3.4.9 works. 

3 answers

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

We have fixed this issue in Sourcetree 3.4.14 which will be available soon.

Currently Sourcetree 3.4.14 beta is available for beta users.

Hi,

Same issue, got a windows 10 update last night. I did try both https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-is-failing-to-start/qaq-p/2105728 solutions and none works.

[UPDATE] : Deleting all C:\Users\<UserName>\AppData\Local\Atlassian\SourceTree.exe_Url_[GUID] folders solved the issue in my case (not te SourceTree folder).

Log:

ERROR [2023-06-14 08:28:59,558] [1] [Sourcetree.Composition.VSMef.Net471.VSMefCompositionManager] [Log] - Unable to load MEF components
System.InvalidOperationException: La séquence ne contient aucun élément.
à System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
à Microsoft.VisualStudio.Composition.PartDiscovery.GetElementTypeFromMany(Type type)
à Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_ImportingSiteTypeWithoutCollection()
à Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_IsLazy()
à Microsoft.VisualStudio.Composition.RuntimeComposition.RuntimeImport.get_LazyFactory()
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import)
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.SatisfyImports()
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.SatisfyImmediateImports()
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import)
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import)
à System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
à System.Linq.Buffer`1..ctor(IEnumerable`1 source)
à System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.<>c__DisplayClass15_0.<GetExportedValueHelper>b__0()
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportElement(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import, RuntimeExport export, Func`3 lazyFactory)
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.GetValueForImportSite(RuntimePartLifecycleTracker importingPartTracker, RuntimeImport import)
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.<CreateValue>b__10_0(RuntimeImport import)
à System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
à System.Linq.Buffer`1..ctor(IEnumerable`1 source)
à System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
à Microsoft.VisualStudio.Composition.RuntimeExportProviderFactory.RuntimeExportProvider.RuntimePartLifecycleTracker.CreateValue()
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.Create()
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveNext(PartLifecycleState nextState)
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.MoveToState(PartLifecycleState requiredState)
à Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker.GetValueReadyToExpose()
à System.Lazy`1.CreateValue()
à System.Lazy`1.LazyInitValue()
à Microsoft.VisualStudio.Composition.NetFxAdapters.MefV1ExportProvider.<>c__DisplayClass12_0.<UnwrapExport>b__1()
à System.ComponentModel.Composition.Primitives.Export.get_Value()
à System.ComponentModel.Composition.ReflectionModel.ImportingItem.Cast(Type type, Export export)
à System.ComponentModel.Composition.ReflectionModel.ReflectionComposablePart.SetImport(ImportingItem item, Export[] exports)
à System.ComponentModel.Composition.Hosting.ImportEngine.PartManager.TrySetImport(ImportDefinition import, Export[] exports)
à System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportSubset(PartManager partManager, IEnumerable`1 imports, AtomicComposition atomicComposition)
à System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImportsStateMachine(PartManager partManager, ComposablePart part)
à System.ComponentModel.Composition.Hosting.ImportEngine.TrySatisfyImports(PartManager partManager, ComposablePart part, Boolean shouldTrackImports)
à System.ComponentModel.Composition.Hosting.ImportEngine.SatisfyImportsOnce(ComposablePart part)
à System.ComponentModel.Composition.Hosting.CompositionContainer.SatisfyImportsOnce(ComposablePart part)
à System.ComponentModel.Composition.AttributedModelServices.SatisfyImportsOnce(ICompositionService compositionService, Object attributedPart)
à Sourcetree.Composition.VSMef.Net471.VSMefCompositionManager.<Compose>d__5.MoveNext()

Mukesh Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 14, 2023

Hi @Joel Pellaud 

Some clients machines are throwing this error.

There is a JAC ticket related to this issue https://jira.atlassian.com/browse/SRCTREEWIN-13130

We are looking into this issue.

Like Joel Pellaud likes this

Deleting all C:\Users\<UserName>\AppData\Local\Atlassian\SourceTree.exe_Url_[GUID] folders solved the issue in my case (not te SourceTree folder).

Like Gary Kundel likes this
Like Joel Pellaud likes this
0 votes
Mukesh Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 07, 2023

Please find the log file and send it here from below path.

C:\Users\<UserName>\AppData\Local\Atlassian\Sourcetree\sourcetree.log

 

Log file can help us analyze the issue better.

As of late, I've instructed Desktop support to install 3.4.9 but we'll set up a test. I'll keep you posted. 

I answered instead of replying here, sorry.

The error just happened for me. Unfortunately, your page won't allow me to paste the log file here. Paste is not an option and [Ctrl-v] causes the page to become unresponsive 

That said, Joel's solution worked. We still shouldn't be getting to this point.

Mukesh Kumar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jun 22, 2023

Hi @gkunkel1965 
Sourcetree JAC tickets allow user to attach  files: https://jira.atlassian.com/browse/SRCTREEWIN-13130.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events