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()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Deleting all C:\Users\<UserName>\AppData\Local\Atlassian\SourceTree.exe_Url_[GUID] folders solved the issue in my case (not te SourceTree folder).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mukesh Kumar I think this is the same problem.
https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-won-t-start-after-Windows-Update-on-June-13-2023/qaq-p/2390682
Seems persistent from 2019 bug. Please see if it can get fixed. Thanks.
https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-won-t-load/qaq-p/1078409
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That said, Joel's solution worked. We still shouldn't be getting to this point.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @gkunkel1965
Sourcetree JAC tickets allow user to attach files: https://jira.atlassian.com/browse/SRCTREEWIN-13130.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.