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

Fatal error (crash) when viewing Remote repositories

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.4.15
    • 3.4.12
    • remote
    • None
    • Major

    Description

      Unable to add a new remote repository or edit remote accounts, because SourceTree crashes after clicking on the Remote button on the New Tab page.

      After each crash, Windows Event Viewer shows 2 errors and 1 information event.

      Error 1 (source: .NET Runtime)

      Application: SourceTree.exe
      Framework Version: v4.0.30319
      Description: The process was terminated due to an unhandled exception.
      Exception Info: Newtonsoft.Json.JsonReaderException
         at Newtonsoft.Json.JsonTextReader.ParseValue()
         at Newtonsoft.Json.JsonReader.ReadForType(Newtonsoft.Json.Serialization.JsonContract, Boolean)
         at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(Newtonsoft.Json.JsonReader, System.Type, Boolean)
         at Newtonsoft.Json.JsonSerializer.DeserializeInternal(Newtonsoft.Json.JsonReader, System.Type)
         at Newtonsoft.Json.JsonConvert.DeserializeObject(System.String, System.Type, Newtonsoft.Json.JsonSerializerSettings)
         at SourceTree.Host.Bitbucket.RefitApiExceptionWrapper..ctor(Refit.ApiException)
         at SourceTree.Host.Bitbucket.RefitApiExceptionGenerator.GenerateFromApiException(System.String, Refit.ApiException, SourceTree.Model.IAccount)
         at SourceTree.Host.Bitbucket.RefitApiExceptionGenerator.GenerateException(System.String, System.Exception, SourceTree.Model.IAccount)
         at SourceTree.Host.Bitbucket.BitbucketHost+<ListGroupingsForUser>d__35.MoveNext()
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
         at System.Runtime.CompilerServices.TaskAwaiter`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].GetResult()
         at SourceTree.ViewModel.Hosted.HostedProjectsViewModel+<RefreshGroupingList>d__97.MoveNext()
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
         at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
         at SourceTree.ViewModel.Hosted.HostedProjectsViewModel+<<-ctor>b__49_8>d.MoveNext()
         at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
         at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
         at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
         at System.Windows.Threading.DispatcherOperation.InvokeImpl()
         at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object)
         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.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
         at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object)
         at System.Windows.Threading.DispatcherOperation.Invoke()
         at System.Windows.Threading.Dispatcher.ProcessQueue()
         at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
         at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
         at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object)
         at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32)
         at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate)
         at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32)
         at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr)
         at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef)
         at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame)
         at System.Windows.Application.RunDispatcher(System.Object)
         at System.Windows.Application.RunInternal(System.Windows.Window)
         at SourceTree.App.Main()

      Error 2 (source: Application Error)

      Faulting application name: SourceTree.exe, version: 3.4.12.0, time stamp: 0x63f70216
      Faulting module name: KERNELBASE.dll, version: 10.0.19041.2728, time stamp: 0xe7e53a4e
      Exception code: 0xe0434352
      Fault offset: 0x000000000002cd29
      Faulting process id: 0x2cc8
      Faulting application start time: 0x01d976e2701b1e08
      Faulting application path: C:\Users\xxxxxxxx\AppData\Local\SourceTree\app-3.4.12\SourceTree.exe
      Faulting module path: C:\windows\System32\KERNELBASE.dll
      Report Id: 649c13a3-38ae-40d2-98ea-3ec8aba98ef4
      Faulting package full name: 
      Faulting package-relative application ID: 

      Related Information event:

      Fault bucket 2105519342835127011, type 5
      Event Name: CLR20r3
      Response: Not available
      Cab Id: 0

      Problem signature:
      P1: SourceTree.exe
      P2: 3.4.12.0
      P3: 63f70216
      P4: Newtonsoft.Json
      P5: 12.0.1.22727
      P6: dcabace8
      P7: 236
      P8: 2a3
      P9: Newtonsoft.Json.JsonReader
      P10: 

      Attached files:
      \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER20DE.tmp.dmp
      \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER240C.tmp.WERInternalMetadata.xml
      \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER243C.tmp.xml
      \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2449.tmp.csv
      \\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER2498.tmp.txt

      These files may be available here:
      \\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_SourceTree.exe_4263896d348285ff466d73dd3fb26f36837d98_58fdf357_8bad0ce9-aa91-4712-93d1-91e1867d9995

      Analysis symbol: 
      Rechecking for solution: 0
      Report Id: 649c13a3-38ae-40d2-98ea-3ec8aba98ef4
      Report Status: 268435456
      Hashed bucket: 650dd00c63578919cd384eafd166d2e3
      Cab Guid: 0

      Attachments

        Issue Links

          Activity

            People

              698877135425 Mukesh Kumar
              0a0eee6ce3e3 Steve Long
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: