Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
3.4.17
-
None
-
Severity 2 - Major
Description
Unable to open SourceTree. The splashscreen shows up for a moment but the application is not starting.
Uninstalling and reinstalling the application solves the problem for some days, but after some time the issue starts again.
This is the content of the sourcetree.log file:
ERROR [2024-04-03 09:57:56,324] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - CompositionException [Errors occurred during discovery.]
ERROR [2024-04-03 09:57:56,376] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - Aggregate Exception:
System.AggregateException: One or more errors occurred. ---> Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.Composition.PartDiscovery.<>c_DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b_0(Assembly a)
--- End of inner exception stack trace —
--- End of inner exception stack trace —
---> (Inner Exception #0) Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.Composition.PartDiscovery.<>c_DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b_0(Assembly a)
--- End of inner exception stack trace --<--
ERROR [2024-04-03 09:57:56,393] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - PartDiscoveryException:
Microsoft.VisualStudio.Composition.PartDiscoveryException: ReflectionTypeLoadException while enumerating types in assembly "C:\Program Files (x86)\Atlassian\Sourcetree\SourceTree.Host.Bitbucket.dll". Results will be incomplete. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.Composition.PartDiscovery.<>c_DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b_0(Assembly a)
--- End of inner exception stack trace —
ERROR [2024-04-03 09:57:56,393] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - TypeLoadException:
System.TypeLoadException: Could not load type 'BitbucKit.Net.Api.Model.TwoZero.Workspace' from assembly 'BitbucKit.Net.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
ERROR [2024-04-03 09:57:56,393] [1] [Sourcetree.Composition.VSMef.Net48.CompositionExceptionHelper] [Log] - ReflectionTypeLoadException:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Microsoft.VisualStudio.Composition.PartDiscovery.<>c_DisplayClass28_0.<CreateAssemblyDiscoveryBlockChain>b_0(Assembly a)