Uploaded image for project: 'Sourcetree for Windows'
  1. Sourcetree for Windows
  2. SRCTREEWIN-14458

Sourcetree window appears for a few seconds, then the application closes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • None
    • 3.4.17
    • UX
    • None
    • Severity 1 - Critical

      This just started happening this afternoon; I had been using the latest version for some time now without issue. The following signature appears in my sourcetree.log file every time I try to start the application:

      ERROR [2024-06-03 18:40:15,262] [7] [SourceTree.Analytics.Services.AnalyticsService] [Log] - POST Interaction 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.Services.AnalyticsService.<SubmitBatch>d__15.MoveNext()
      ERROR [2024-06-03 18:40:15,276] [7] [SourceTree.Analytics.Services.AnalyticsService] [Log] - Response status code does not indicate success: 502 (Bad Gateway). Bad Gateway
      ERROR [2024-06-03 18:40:15,277] [7] [SourceTree.Analytics.Services.AnalyticsService] [Log] - 502
      ERROR [2024-06-03 18:40:15,277] [7] [SourceTree.Analytics.Services.AnalyticsService] [Log] - Bad Gateway
      ERROR [2024-06-03 18:40:15,277] [7] [SourceTree.Analytics.Services.AnalyticsService] [Log] - [null]
      ERROR [2024-06-03 18:40:15,321] [2] [SourceTree.App] [Log] - A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
      System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. ---> System.NullReferenceException: Object reference not set to an instance of an object.
         at SourceTree.Analytics.Services.AnalyticsService.<SubmitBatch>d__15.MoveNext()
         --- End of inner exception stack trace ---
      ---> (Inner Exception #0) System.NullReferenceException: Object reference not set to an instance of an object.
         at SourceTree.Analytics.Services.AnalyticsService.<SubmitBatch>d__15.MoveNext()<---
      
      ERROR [2024-06-03 18:40:18,154] [30] [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 18:40:18,155] [30] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - Response status code does not indicate success: 502 (Bad Gateway). Bad Gateway
      ERROR [2024-06-03 18:40:18,155] [30] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - 502
      ERROR [2024-06-03 18:40:18,155] [30] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - Bad Gateway
      ERROR [2024-06-03 18:40:18,155] [30] [SourceTree.Analytics.Emau.EMauSubmissionService] [Log] - [null]
      ERROR [2024-06-03 18:40:18,158] [17] [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()

            698877135425 Mukesh Kumar
            7bb4049d0f47 Dave Sammel
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: