I recently installed Windows 10 from scratch and updated it to the latest version. I also installed the latest version of SourceTree (3.4.30). When I start the application and try to register a user account, I get the following error:
ERROR [2026-03-22 13:52:25,177] [1] [SourceTree.App] [Log] - Failed to start
System.Windows.Markup.XamlParseException: Initialization of 'System.Windows.Setter' threw an exception. ---> System.FormatException: Aliased is not a valid value for EdgeMode.I have investigated, and it seems to be related to the WPF version installed. However, I already have the latest version. Has anyone had the same experience? Any ideas? The SourceTree just crashes.
Hi @Nikola Djurdjevic ,
You could try the following:
I'm on Win 11 (not sure if I have any VM machine with Win 10 to simulate this). 👀
Question - Does the crash happen immediately upon launch, or only when the registration window specifically tries to load? 👀
You could also check Microsoft Edge WebView 2 Runtime - apparently app could rely on Edge components for its registration and login screens, but I'm not sure about the details there. That's only something I managed to dig out. 🤔
Cheers,
Tobi
Hi Tobi,
Thank you for your reply.
It crashes after Registration window when I click on Next.
I have tried all you have mentioned. I have tried what ChatGPT also suggested. Also I have manually re-installed .NET 4.8.1. All updates are installed. ChatGPT give me a hint that it is related to WPF.
Below is a little bit bigger log.
ERROR [2026-03-22 20:33:15,492] [1] [SourceTree.App] [Log] - Failed to start
System.Windows.Markup.XamlParseException: Initialization of 'System.Windows.Setter' threw an exception. ---> System.FormatException: Aliased is not a valid value for EdgeMode. ---> System.ArgumentException: Requested value 'Aliased' was not found.
at System.Enum.TryParseEnum(Type enumType, String value, Boolean ignoreCase, EnumResult& parseResult)
at System.Enum.Parse(Type enumType, String value, Boolean ignoreCase)
at System.ComponentModel.EnumConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
--- End of inner exception stack trace ---
at System.ComponentModel.EnumConverter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at System.Windows.Setter.System.ComponentModel.ISupportInitialize.EndInit()
at MS.Internal.Xaml.Runtime.ClrObjectRuntime.InitializationGuard(XamlType xamlType, Object obj, Boolean begin)
--- End of inner exception stack trace ---
at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlReader templateReader, XamlObjectWriter currentWriter)
at System.Windows.FrameworkTemplate.LoadTemplateXaml(XamlObjectWriter objectWriter)
at System.Windows.FrameworkTemplate.LoadOptimizedTemplateContent(DependencyObject container, IComponentConnector componentConnector, IStyleConnector styleConnector, List`1 affectedChildren, UncommonField`1 templatedNonFeChildrenField)
at System.Windows.FrameworkTemplate.LoadContent(DependencyObject container, List`1 affectedChildren)
at System.Windows.StyleHelper.ApplyTemplateContent(UncommonField`1 dataField, DependencyObject container, FrameworkElementFactory templateRoot, Int32 lastChildIndex, HybridDictionary childIndexFromChildID, FrameworkTemplate frameworkTemplate)
at System.Windows.FrameworkTemplate.ApplyTemplateContent(UncommonField`1 templateDataField, FrameworkElement container)
at System.Windows.FrameworkElement.ApplyTemplate()
at System.Windows.FrameworkElement.MeasureCore(Size availableSize)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, thanks for the detailed log @Nikola Djurdjevic 🙏
I mean, I'm mainly searching for possible root causes, and this is something that you could potentially check:
...
Potential System Conflict
One known cause for WPF initialization failures in Atlassian tools on Windows is the FIPS (Federal Information Processing Standard) policy. If enabled, it can prevent certain UI components from initializing correctly.
To check and disable this:
Go to Start > Control Panel > Administrative Tools > Local Security Policy.
Navigate to Local Policies > Security Options.
Locate System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing.
If it is Enabled, set it to Disabled and restart your machine.
Registry Verification
Ensure the following registry subkey is set to 0:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\fipsalgorithmpolicy.Since you mentioned this happens specifically after clicking "Next" in the registration window, it is possible the embedded browser component is triggering this. Have you tried temporarily disabling hardware acceleration in your Windows display settings to see if the registration window loads differently?
...
I'm a bit shooting blindly here as I cannot replicate the thing on my machine, but potentially someone else will chime in if they have had a similar experience in the past 🫤
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.