The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

System.ArgumentException if "Spell check commit message" is active (Version 3.4.11)

Nike
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 26, 2023

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

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events