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

SourceTree Crashing When Requesting a Pull Request

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Obsolete
    • Affects Version/s: 1.6.17
    • Fix Version/s: None
    • Component/s: None
    • Symptom Severity:
      Severity 2 - Major

      Description

      I just downloaded the latest version of SourceTree and I get the following error in the log when I try to open a Pull Request- the UI crashes.

      2015-07-16T13:10:03: Fatal error: 
      System.NullReferenceException: Object reference not set to an instance of an object.
      
      2015-07-16T13:10:03: Stack trace: 
         at SourceTree.Repo.RepoHelper.CreatePullRequest(Repository repo, RepositoryRemoteProjectLink link, String remoteBranch, String commitSHA) in C:\projects\bitbucket.org\atlassian\sourcetreewin\Repo\RepoHelper.cs:line 843
         at SourceTree.ViewModel.RepoTabViewModel.CreatePullRequestNoPromptIfNotAhead(String localBranch, String remote, String remoteBranch) in C:\projects\bitbucket.org\atlassian\sourcetreewin\ViewModel\RepoTabViewModel.cs:line 3341
         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)
      

      Steps to Reproduce:

      1. Right click on any Branch
      2. Select "Create a Pull Request..."
        • Expected Behavior: User would be taken to the Stash page with information populated
        • Actual Behavior: Crash Message

      Steps tried:

      • Restarting Stash
      • Checking Remote Details settings- everything was right initially
      • Using "Repository -> Create Pull Request"
        • This does not cause a SourceTree Crash, but it does not work- it continuously sends me back to the "Create Pull Request" Screen.
      • Changed the visible panes from "Tree View" to "Flat List"

      Also, please note that I am able to create a pull request using the Stash UI.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            swu1 Sarah Wu
            Votes:
            5 Vote for this issue
            Watchers:
            9 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: