diff --git a/src/Pickles/Pickles.UserInterface/MainWindowViewModel.cs b/src/Pickles/Pickles.UserInterface/MainWindowViewModel.cs index e6ce85234..93d046f4e 100644 --- a/src/Pickles/Pickles.UserInterface/MainWindowViewModel.cs +++ b/src/Pickles/Pickles.UserInterface/MainWindowViewModel.cs @@ -454,7 +454,7 @@ private void MainWindowViewModel_PropertyChanged(object sender, PropertyChangedE case "TestResultsFile": { - if (this.testResultsFile.Split(';').All(trf => this.fileSystem.File.Exists(trf))) + if (this.testResultsFile == null || this.testResultsFile.Split(';').All(trf => this.fileSystem.File.Exists(trf))) { this.IsTestResultsFileValid = true; }