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

NullReferenceException on commit

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • High
    • None
    • 1.6.5
    • None
    • None
    • Windows 8.1

    Description

      SourceTree was crashed with NullReferenceException on commit.

      1. select a unstaged file.
      2. right click -> select "Commit"
      3. crashes with following logs.

      2014-10-09T10:50:43: Fatal error:
      System.NullReferenceException: Object reference not set to an instance of an object.

      2014-10-09T10:50:43: Stack trace:
      at SourceTree.ViewModel.RepoTabViewModel.CommitSelected()
      at SourceTree.ViewModel.Utils.CommandSink.ExecuteCommand(ICommand command, Object parameter, Boolean& handled)
      at SourceTree.ViewModel.Utils.CommandSinkBinding.<set_CommandSink>b__1(Object s, ExecutedRoutedEventArgs e)
      at System.Windows.Input.CommandBinding.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
      at System.Windows.Input.CommandManager.ExecuteCommandBinding(Object sender, ExecutedRoutedEventArgs e, CommandBinding commandBinding)
      at System.Windows.Input.CommandManager.FindCommandBinding(CommandBindingCollection commandBindings, Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
      at System.Windows.Input.CommandManager.FindCommandBinding(Object sender, RoutedEventArgs e, ICommand command, Boolean execute)
      at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
      at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
      at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
      at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
      at System.Windows.Input.RoutedCommand.ExecuteImpl(Object parameter, IInputElement target, Boolean userInitiated)
      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)

      Attachments

        Issue Links

          Activity

            People

              mminns minnsey
              d1b50060dca2 Keiichi Iguchi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: