Source tree 1.9.6.0 crash when hit "Commit" button

After update soure tree crashes when i hit the "commit" button. 

How can i fix this problem?

"Pull" work fine.

Information from "sourcetree.log":

 

 
ERROR [2016-08-08 10:29:07,175] [1] [SourceTree.Analytics.Crash.BugSplat.CrashAnalyticsService] [DispatcherUnhandledExceptionHandler] - DispatcherUnhandledExceptionHandler for [SourceTree, 1.9.6.0] called with [System.Windows.Threading.Dispatcher, System.Windows.Threading.DispatcherUnhandledExceptionEventArgs]
System.NullReferenceException: Object reference not set to an instance of an object.
at SourceTree.Accounts.AccountManager.GetDefaultUserInformation(String& fullname, String& email) in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\Accounts\AccountManager.cs:line 108
at SourceTree.ViewModel.UserDetailsViewModel..ctor(Repository repo, Action`2 completionAction, ICustomActionsManager customActionsManager, ISchedulerManager schedulerManager, IRepositoryManager repositoryManager, IAnalyticsDataManager analyticsDataManager, ITraceManager traceManager, IDispatcher sourceTreeDispatcher, IAccountManager accountManager, IFailureHandler failureHandler, IDvcsManager dvcsManager, IRepositoryMonitorManager repositoryMonitorManager, IFileListViewManager fileListViewManager, IFileListContainerViewManager fileListContainerViewManager, IDiffViewManager diffViewManager, IConfigurationManager configurationManager, IProcessDialogViewManager processDialogViewManager, IChangeSetViewManager changeSetViewManager, INotificationsManager notificationsManager) in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\SourceTree.Api.UI.Wpf\ViewModel\UserDetailsViewModel.cs:line 64
at SourceTree.ViewModel.CommitAndFileStatusViewModel._CheckMinimumRequirementsBeforeEnterCommit() in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\SourceTree.Api.UI.Wpf\ViewModel\CommitAndFileStatusViewModel.cs:line 705
at SourceTree.ViewModel.CommitAndFileStatusViewModel.EnterCommitMode() in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\SourceTree.Api.UI.Wpf\ViewModel\CommitAndFileStatusViewModel.cs:line 603
at SourceTree.ViewModel.CommitAndFileStatusViewModel..ctor(Repository repo, IRepositoryTabContainerViewModel repositoryTabContainerViewModel, ICustomActionsManager customActionsManager, ISchedulerManager schedulerManager, IRepositoryManager repositoryManager, IAnalyticsDataManager analyticsDataManager, ITraceManager traceManager, IDispatcher dispatcher, IAccountManager accountManager, IFailureHandler failureHandler, IDvcsManager dvcsManager, IRepositoryMonitorManager repositoryMonitorManager, IFileListViewManager fileListViewManager, IFileListContainerViewManager fileListContainerViewManager, IDiffViewManager diffViewManager, IChangeSetViewManager changeSetViewManager, IProcessDialogViewManager processDialogViewManager, IConfigurationManager configurationManager, INotificationsManager notificationsManager, Boolean refreshImmediately, FileStatus overrideFilter) in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\SourceTree.Api.UI.Wpf\ViewModel\CommitAndFileStatusViewModel.cs:line 173
at SourceTree.ViewModel.RepoTabViewModel.set_CurrentRepoView(RepoViewMode value) in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\SourceTree.Api.UI.Wpf\ViewModel\RepoTabViewModel.cs:line 394
at SourceTree.ViewModel.RepoTabViewModel.Commit() in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\SourceTree.Api.UI.Wpf\ViewModel\RepoTabViewModel.cs:line 862
at SourceTree.ViewModel.Utils.CommandSink.ExecuteCommand(ICommand command, Object parameter, Boolean& handled) in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\SourceTree.Api.UI.Wpf\ViewModel\Utils\CommandSink.cs:line 112
at SourceTree.ViewModel.Utils.CommandSinkBinding.<set_CommandSink>b__3_1(Object s, ExecutedRoutedEventArgs e) in D:\projects\bitbucket.org\atlassian\sourcetree\sourcetreewin-prod\SourceTree.Api.UI.Wpf\ViewModel\Utils\CommandSinkBinding.cs:line 46
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.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
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.Input.CommandManager.TransferEvent(IInputElement newSource, ExecutedRoutedEventArgs e)
at System.Windows.Input.CommandManager.OnExecuted(Object sender, ExecutedRoutedEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
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 MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.ThreadinxceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

1 answer

I have the exact same issue the log also throws the same error message. sad

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

824 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you