From 784913a85b54ef220fef79fbf1b928751e6d1a4d Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 15 Nov 2020 00:12:53 -0500 Subject: [PATCH] Fixed: Prevent null when no candidate in ParsingService --- src/NzbDrone.Core/Parser/ParsingService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Parser/ParsingService.cs b/src/NzbDrone.Core/Parser/ParsingService.cs index 98af576fc..b4af99a93 100644 --- a/src/NzbDrone.Core/Parser/ParsingService.cs +++ b/src/NzbDrone.Core/Parser/ParsingService.cs @@ -214,7 +214,7 @@ namespace NzbDrone.Core.Parser } // Only default to not using year when one is parsed if only one movie candidate exists - if (candidates.Count == 1) + if (candidates != null && candidates.Count == 1) { movieByTitleAndOrYear = _movieService.FindByTitle(parsedMovieInfo.MovieTitle, null, arabicTitle, romanTitle, candidates); if (movieByTitleAndOrYear != null)