SourceTree 3.4.18 crashing after Visual Studio update

tdennis
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!
June 3, 2024

SourceTree 3.4.18 was working fine all morning until I ran a Visual Studio Community 2022 update and then added the C++ package. Now SourceTree crashes after showing the main screen. Visual Studio runs fine.

sourcetree.log
2024-06-03T15:53:44: LogHost: Initializing to normal mode
ERROR [2024-06-03 15:53:56,005] [1] [SourceTree.Notifications.NotificationsManager] [Log] - Unable to set owner as parent is not visible or non-existent
ERROR [2024-06-03 15:54:01,484] [25] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - POST MAU submission FAILED
Refit.ApiException: Response status code does not indicate success: 502 (Bad Gateway).
at Refit.RequestBuilderImplementation`1.<>c__DisplayClass13_0`1.<<BuildCancellableTaskFuncForMethod>b__0>d.MoveNext() in D:\a\1\s\Refit\RequestBuilderImplementation.cs:line 258
--- 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 Atlassian.AnalyticsService.Client.AnalyticsServiceClient.<Post>d__12.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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at SourceTree.Analytics.Emau.EMauSubmissionService.<SubmitBatch>d__40.MoveNext()
ERROR [2024-06-03 15:54:01,498] [25] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - Response status code does not indicate success: 502 (Bad Gateway). Bad Gateway
ERROR [2024-06-03 15:54:01,498] [25] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - 502
ERROR [2024-06-03 15:54:01,498] [25] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - Bad Gateway
ERROR [2024-06-03 15:54:01,498] [25] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - [null]
ERROR [2024-06-03 15:54:01,499] [19] [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 ---
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.<Submit>d__39.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 System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at SourceTree.Analytics.Emau.EMauSubmissionService.<SubmissionTimer_Elapsed>d__37.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()

Windows Event Viewer
Application: SourceTree.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.NullReferenceException
at SourceTree.Analytics.Emau.EMauSubmissionService+<SubmitBatch>d__40.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at System.Runtime.CompilerServices.TaskAwaiter`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResult()
at SourceTree.Analytics.Emau.EMauSubmissionService+<Submit>d__39.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
at System.Runtime.CompilerServices.TaskAwaiter`1[[System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResult()
at SourceTree.Analytics.Emau.EMauSubmissionService+<SubmissionTimer_Elapsed>d__37.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()

Faulting application name: SourceTree.exe, version: 3.4.18.0, time stamp: 0x661cad94
Faulting module name: KERNELBASE.dll, version: 10.0.22621.3527, time stamp: 0x83efbeab
Exception code: 0xe0434352
Fault offset: 0x000000000006543c
Faulting process id: 0x0x6ED4
Faulting application start time: 0x0x1DAB5ED7DD3779A
Faulting application path: C:\Users\<userName>\AppData\Local\SourceTree\app-3.4.18\SourceTree.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report Id: 2484b1f3-ff6d-432f-80c0-e9d92ce1de9c
Faulting package full name:
Faulting package-relative application ID:

Installed apps (same day)
Microsoft .NET SDK 8.0.300 (x64) from Visual Studio 8.3.24.22415
Microsoft 365 Apps for Businss - en-us 16.0.17628.20110
Windows SDK AddOn 10.1.0.0
Windows Software Development Kit - Windows 10.0.22621.3233 

Windows version
Edition Windows 11 Pro
Version 23H2
Installed on ‎2/‎7/‎2024
OS build 22631.3593
Experience Windows Feature Experience Pack 1000.22700.1003.0

Processor AMD Ryzen 5 5600X 6-Core Processor 3.70 GHz
Installed RAM 64.0 GB
System type 64-bit operating system, x64-based processor
Pen and touch No pen or touch input is available for this display

Resolutions attempted
Uninstalled SourceTree 3.4.18
Deleted C:\Users\<userName>\AppData\Local\Atlassian
Rebooted
Downloaded current version of Sourcetree for Windows from Atlassian website and reinstalled

Do I have to reinstall Visual Studio or one of the .NET Framework packs?

Thank you!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events