Details
Description
1. Staged appropriate files (from commits list view with staged/unstaged and diff in bottom half)
2. Pressed Git commit button on toolbar
3. Added ~30 line commit comment
4. Pressed commit
5. Crashed...
Note: the git commit does appear to have completed successfully, so it looks like it is only a UI issue. Sourcetree also restarted fine, can show that commit, etc.
Relevant lines in sourcetree.log are:
sourcetree.log
Fatal error: System.NullReferenceException: Object reference not set to an instance of an object. 2015-10-16T11:53:48: Stack trace: at SourceTree.ViewModel.CommitAndFileStatusViewModel.SubmoduleDialogCompleted(RepoDialogViewModel repoDlg, Int32 returnCode) in C:\projects\bitbucket.org\atlassian\sourcetreewin-1.6\ViewModel\CommitAndFileStatusViewModel.cs:line 908 at SourceTree.ViewModel.RepoDialogViewModel.Finish(Int32 returnCode) in C:\projects\bitbucket.org\atlassian\sourcetreewin-1.6\ViewModel\RepoDialogViewModel.cs:line 41 at SourceTree.ViewModel.SubmoduleCheckDialogViewModel.<RefreshSubmodules>d__42.MoveNext() in C:\projects\bitbucket.org\atlassian\sourcetreewin-1.6\ViewModel\SubmoduleCheckDialogViewModel.cs:line 278 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c__DisplayClass2.<ThrowAsync>b__3(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)