Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,273
Community Members
 
Community Events
165
Community Groups

Sourcetree crashes with Git Flow features

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

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

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

That same thing happens for me also!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

60,234 views 127 26
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you