I can enter Sourcetree and work in it for about 20 seconds and then it crashes. I have looked at the logs and this is the error:
--- 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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at SourceTree.Analytics.Emau.EMauSubmissionService.<SubmitBatch>d__40.MoveNext()
ERROR [2025-10-24 14:06:47,189] [29] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - Response status code does not indicate success: 502 (Bad Gateway). Bad Gateway
ERROR [2025-10-24 14:06:47,189] [29] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - 502
ERROR [2025-10-24 14:06:47,190] [36] [SourceTree.App] [Log] - Object reference not set to an instance of an object. The application is terminating.
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Analytics.Emau.EMauSubmissionService.<SubmitBatch>d__40.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
So it crashes because of EMauSubmissionService. Can I disable that in any way? Because this is pretty big downside.
I am using Windows 11
@Microlight Games Looks like disabling is not an options - https://community.atlassian.com/forums/Sourcetree-questions/How-to-disable-EMauSubmissionService-in-MSI-installation-of/qaq-p/977800
The issue you are seeing looks a lot like this https://jira.atlassian.com/browse/SRCTREEWIN-14457
Do you have any pending Windows updates? Have you restarted your computer and is it still happening after restarting?
I have added this to the user.config
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.