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

Crash When Accepting Server Key for Submodule

    XMLWordPrintable

Details

    • Severity 1 - Critical

    Description

      I'm seeing this crash when trying to update a submodule within a newly cloned Git repo. The steps I'm using to reproduce are:

      1. Open SourceTree
      2. Double-click the associated repository from the left hand repo browser treeview
      3. From the resulting repository tab; drill down to the submodule in the "Submodules" treeview
      4. Double click the submodule to update it
      5. The resulting update dialog states that the "server's host key is not cached in the registry", I then see a dialog asking me to accept the server's key
      6. Click "Yes" to retry
      7. At this point the application crashes with an ArgumentNullException

      The stack trace I'm seeing is:

      System.dll!System.Text.RegularExpressions.Regex.Matches(string input)	Unknown
      SourceTree.exe!SourceTree.Utils.RepoProcess.CheckServerKeyRejectionsAfterFinish() Line 1060	C#
      SourceTree.exe!SourceTree.Utils.RepoProcess.RelaunchIfAuthenticationError() Line 947	C#
      SourceTree.exe!SourceTree.Utils.RepoProcess.DoCompletionFunctions() Line 587	C#
      System.dll!System.Diagnostics.Process.RaiseOnExited()	Unknown
      mscorlib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 581	C#
      mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state, bool preserveSyncCtx) Line 530	C#
      mscorlib.dll!System.Threading._ThreadPoolWaitOrTimerCallback.PerformWaitOrTimerCallback(object state, bool timedOut) Line 1351	C#
      

      I've attached a video of the problem occurring.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              34c0d5bd6892 dcopestake
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: