Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sourcetree crashes with Git Flow features

Karl Beaver June 10, 2020

Sourcetree 3.3.8.3848 on Windows 10 1803.

With a Git Flow enabled repo, any time I attempt to create a feature branch via the menu (Repository > Git-flow > Start New Feature) Sourcetree immediately crashes with a BugSplat popup. Note I am using Embedded Git v 2.24.1 with git-lfs v2.9.1. The repository configuration file has the [gitflow "prefix"], [gitflow "branch"], [gitflow "path"] blocks defined. Any ideas?

 

DEBUG [2020-06-10 10:50:01,800] [37] [SourceTree.Utils.RepoProcess] [Log] - Elapsed time localprocess [14439320] [00:00:00.1306087]
DEBUG [2020-06-10 10:50:15,392] [39] [SourceTree.Utils.RepoProcess] [Log] - Initialize localprocess [45712546]
DEBUG [2020-06-10 10:50:15,392] [39] [SourceTree.Utils.RepoProcess] [Log] - Start localprocess [45712546] [D:\srcrepo>C:\Users\redacted\AppData\Local\Atlassian\SourceTree\git_local\cmd\git.exe flow version]

env=[git_ssh=C:\Users\redacted\AppData\Local\SourceTree\app-3.3.8\tools\putty\plink.exe,path=C:\Users\redacted\AppData\Local\Atlassian\SourceTree\git_extras;C:\Users\redacted\AppData\Local\Atlassian\SourceTree\gitflow_local\gitflow;C:\Users\redacted\AppData\Local\Atlassian\SourceTree\git_local\bin;C:\Users\redacted\AppData\Local\Atlassian\SourceTree\git_local\mingw32\bin;C:\Users\redacted\AppData\Local\Atlassian\SourceTree\git_local\mingw64\bin;C:\Users\redacted\AppData\Local\SourceTree\app-3.3.8\tools;C:\Program Files (x86)\RSA SecurID Token Common;C:\Program Files\RSA SecurID Token
...
[REDACTED ENV VARS]
...
DEBUG [2020-06-10 10:50:16,802] [39] [SourceTree.Utils.RepoProcess] [Log] - Completed localprocess [45712546] [0] [1.12.3 (AVH Edition)
] []
DEBUG [2020-06-10 10:50:16,802] [39] [SourceTree.Utils.RepoProcess] [Log] - Elapsed time localprocess [45712546] [00:00:01.4100872]
DEBUG [2020-06-10 10:50:16,848] [39] [SourceTree.Model.Repository] [Log] - Called Checksummary for [D:\srcrepo]
ERROR [2020-06-10 10:50:16,872] [48] [SourceTree.Analytics.Crash.BugSplat.CrashAnalyticsService] [Log] - UnhandledExceptionHandler for [Sourcetree, 3.3.8.3848] called with [Name:SourceTree.exe
There are no context policies.
, System.UnhandledExceptionEventArgs]
System.NotSupportedException: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
at SourceTree.ViewModel.Flow.FlowStartPanelViewModel.<InitAsync>d__42.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SourceTree.ViewModel.Flow.FlowContainerDialogViewModel.<ChangeMode>d__24.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

 

3 answers

0 votes
Nicolas Clemeur September 28, 2020

I have also the same issue but it is not happening consistently, it just crash about 1 times out of 5...

0 votes
Thomas Bastiaansen July 31, 2020

Hi, I am facing some similar issues with a curring project.

 

I was able to still create features by executing the command in the terminal instead of using the Sourcetree interface. Hope it helps

0 votes
René Petersen July 2, 2020

That same thing happens for me also!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events