If the "Spell check commit message" option is active (with US or GB dictionary), Sourcetree crashes with the following stack/exception:
ERROR [2023-01-26 11:54:13,385] [1] [SourceTree.App] [Log] - Loading custom dictionary file at C:\Users\nike\AppData\Local\Atlassian\SourceTree\dictionary.lex failed. The application is terminating.
System.ArgumentException: Loading custom dictionary file at C:\Users\nike\AppData\Local\Atlassian\SourceTree\dictionary.lex failed. ---> System.ArgumentException: Value does not fall within the expected range.
at MS.Internal.ReaderWriterLockSlimWrapper.ExecuteWithinLockInternal(Action lockAcquire, Action lockRelease, Object& result, Delegate criticalAction, Object[] args)
at MS.Internal.ReaderWriterLockSlimWrapper.WithWriteLock(Action criticalAction)
at System.Windows.Documents.WinRTSpellerInterop.LoadDictionaryImpl(String lexiconFilePath)
--- End of inner exception stack trace ---
at System.Windows.Documents.WinRTSpellerInterop.LoadDictionaryImpl(String lexiconFilePath)
at System.Windows.Documents.Speller.OnDictionaryUriAdded(Uri uri)
at System.Windows.Controls.CustomDictionarySources.System.Collections.Generic.ICollection<System.Uri>.Add(Uri item)
at System.Windows.Controls.CustomDictionarySources.System.Collections.IList.Add(Object value)
at SourceTree.View.CommitAndFileStatusView.OnDataContextChanged(Object sender, DependencyPropertyChangedEventArgs dependencyPropertyChangedEventArgs)
at System.Windows.FrameworkElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)
at System.Windows.FrameworkElement.OnDataContextChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
it is a complete new installation
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.