From 0c654377f493fcb0f31f852efc8561330b1c52cb Mon Sep 17 00:00:00 2001 From: Bogdan Date: Fri, 31 May 2024 13:50:37 +0300 Subject: [PATCH] Fixed: Manual Interaction Required with possible null movie Prevent a NullRef when the notification is sent due to an invalid movie title Fixes #10053 --- src/NzbDrone.Core/Notifications/NotificationService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Notifications/NotificationService.cs b/src/NzbDrone.Core/Notifications/NotificationService.cs index 0d5f4e7b5..ba43d98f3 100644 --- a/src/NzbDrone.Core/Notifications/NotificationService.cs +++ b/src/NzbDrone.Core/Notifications/NotificationService.cs @@ -254,7 +254,7 @@ public void Handle(UpdateInstalledEvent message) public void Handle(ManualInteractionRequiredEvent message) { - var movie = message.RemoteMovie.Movie; + var movie = message.RemoteMovie?.Movie; var mess = ""; if (movie != null) @@ -276,7 +276,7 @@ public void Handle(ManualInteractionRequiredEvent message) { Message = mess, Movie = movie, - Quality = message.RemoteMovie.ParsedMovieInfo.Quality, + Quality = message.RemoteMovie?.ParsedMovieInfo.Quality, RemoteMovie = message.RemoteMovie, TrackedDownload = message.TrackedDownload, DownloadClientInfo = message.TrackedDownload.DownloadItem?.DownloadClientInfo,