Crash when 'deleting' a remote from local repo

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Low
    • 1.3.3
    • Affects Version/s: 1.2.4
    • Component/s: Git
    • None
    • Environment:

      Windows 7 x64

      Application crashed with following exception in sourcetree.log when removing a remote named 'origin' from a local repository. (right click, 'Delete Remote') The remote also exists on the local file system. Unfortunately not able to reproduce - sorry.

      2013-12-18T14:23:50: Fatal error:
      System.ArgumentNullException: Value cannot be null.
      Parameter name: collection

      2013-12-18T14:23:50: Stack trace:
      at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
      at SourceTree.ViewModel.RepoTabViewModel.DeleteRemote(String remote)
      at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
      at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
      at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

        1. sourcetree.log
          7 kB
          Kyle Summers

            Assignee:
            Steve Streeting (Inactive)
            Reporter:
            Kyle Summers
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: