Forums

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

Sourcetree crashes a bit after starting becasue of EMauSubmissionService

Microlight Games
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!
October 24, 2025

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

1 answer

0 votes
Brant Schroeder
Community Champion
October 24, 2025

@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?

Microlight Games
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!
October 24, 2025

I have added this to the user.config

<setting name="AnalyticsHasAgreed" serializeAs="String">
                <value>False</value>
            </setting>

and sourcetree didnt crash in the next 2-3 hours that I have tested it. Comment that suggested this said that it helps but doesnt resolve the problem so we will see.

Windows was updated last night so it might have been the update. I have restarted computer in hopes of fixing the problem but it didnt help.
Like Brant Schroeder likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events