Upgrades blocked: UpgradeSpecification error #7400

Closed
opened 2026-02-19 23:11:23 -05:00 by deekerman · 1 comment
Owner

Originally created by @owine on GitHub (May 2, 2023).

Originally assigned to: @bakerboy448 on GitHub.

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

All upgrades are blocked and stuck in the queue with the error UpgradeSpecification: Object reference not set to an instance of an object.

Expected Behavior

Upgrades processed properly, no error

Steps To Reproduce

Download movie
Download "upgrade" for same movie either manually or automatically
Let parser work
Observe error

Environment

- OS: Ubuntu 22.04
- Radarr: 4.5.1.7174
- Docker Install: Yes, hotio
- Using Reverse Proxy: Yes
- Browser: Chromium
- Database: PG

What branch are you running?

Master

Trace Logs?

https://privatebin.net/?17bf1ad13e792e51#6MjapFr5ouQ5P4eCVgmJGhUEg1d7vWR7s6Afx4wSL5KV

Originally created by @owine on GitHub (May 2, 2023). Originally assigned to: @bakerboy448 on GitHub. ### Is there an existing issue for this? - [X] I have searched the existing open and closed issues ### Current Behavior All upgrades are blocked and stuck in the queue with the error `UpgradeSpecification: Object reference not set to an instance of an object.` ### Expected Behavior Upgrades processed properly, no error ### Steps To Reproduce Download movie Download "upgrade" for same movie either manually or automatically Let parser work Observe error ### Environment ```markdown - OS: Ubuntu 22.04 - Radarr: 4.5.1.7174 - Docker Install: Yes, hotio - Using Reverse Proxy: Yes - Browser: Chromium - Database: PG ``` ### What branch are you running? Master ### Trace Logs? https://privatebin.net/?17bf1ad13e792e51#6MjapFr5ouQ5P4eCVgmJGhUEg1d7vWR7s6Afx4wSL5KV
Author
Owner

@bakerboy448 commented on GitHub (May 2, 2023):

presumable regression from github.com/Radarr/Radarr@44bec71752

2023-05-02 09:38:36.8|Trace|AlreadyImportedSpecification|Movie file was grabbed again after importing
2023-05-02 09:38:36.8|Trace|ConfigService|Using default config value for 'skipfreespacecheckwhenimporting' defaultValue:'False'
2023-05-02 09:38:36.8|Trace|ConfigService|Using default config value for 'minimumfreespacewhenimporting' defaultValue:'100'
2023-05-02 09:38:36.8|Debug|VideoFileInfoReader|Getting media info from /mnt/unionfs/downloads/nzbs/nzbget/completed/radarr/Feeling.Butterflies.2022.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb/RrDdFh3U6iYokxDkhi56P8izO1eH1ZeBfwRVzk71.mkv
2023-05-02 09:38:36.8|Debug|DetectSample|Runtime of 5093.92 is more than 600 seconds, Not Sample
2023-05-02 09:38:36.8|Trace|ConfigService|Using default config value for 'downloadclientworkingfolders' defaultValue:'_UNPACK_|_FAILED_'
2023-05-02 09:38:36.8|Error|ImportDecisionMaker|Couldn't evaluate decision on /mnt/unionfs/downloads/nzbs/nzbget/completed/radarr/Feeling.Butterflies.2022.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb/RrDdFh3U6iYokxDkhi56P8izO1eH1ZeBfwRVzk71.mkv

[v4.5.1.7174] System.NullReferenceException: Object reference not set to an instance of an object.
   at NzbDrone.Core.CustomFormats.CustomFormatCalculationService.ParseCustomFormat(MovieFile movieFile, Movie movie, List`1 allCustomFormats) in D:\a\1\s\src\NzbDrone.Core\CustomFormats\CustomFormatCalculationService.cs:line 183
   at NzbDrone.Core.MediaFiles.MovieImport.Specifications.UpgradeSpecification.IsSatisfiedBy(LocalMovie localMovie, DownloadClientItem downloadClientItem) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\MovieImport\Specifications\UpgradeSpecification.cs:line 29
   at NzbDrone.Core.MediaFiles.MovieImport.ImportDecisionMaker.EvaluateSpec(IImportDecisionEngineSpecification spec, LocalMovie localMovie, DownloadClientItem downloadClientItem) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\MovieImport\ImportDecisionMaker.cs:line 190


2023-05-02 09:38:36.8|Debug|ImportDecisionMaker|File rejected for the following reasons: [Permanent] UpgradeSpecification: Object reference not set to an instance of an object.
@bakerboy448 commented on GitHub (May 2, 2023): presumable regression from https://github.com/Radarr/Radarr/commit/44bec71752af0829d7dca7461dc9b03cdd2e1b89 ``` 2023-05-02 09:38:36.8|Trace|AlreadyImportedSpecification|Movie file was grabbed again after importing 2023-05-02 09:38:36.8|Trace|ConfigService|Using default config value for 'skipfreespacecheckwhenimporting' defaultValue:'False' 2023-05-02 09:38:36.8|Trace|ConfigService|Using default config value for 'minimumfreespacewhenimporting' defaultValue:'100' 2023-05-02 09:38:36.8|Debug|VideoFileInfoReader|Getting media info from /mnt/unionfs/downloads/nzbs/nzbget/completed/radarr/Feeling.Butterflies.2022.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb/RrDdFh3U6iYokxDkhi56P8izO1eH1ZeBfwRVzk71.mkv 2023-05-02 09:38:36.8|Debug|DetectSample|Runtime of 5093.92 is more than 600 seconds, Not Sample 2023-05-02 09:38:36.8|Trace|ConfigService|Using default config value for 'downloadclientworkingfolders' defaultValue:'_UNPACK_|_FAILED_' 2023-05-02 09:38:36.8|Error|ImportDecisionMaker|Couldn't evaluate decision on /mnt/unionfs/downloads/nzbs/nzbget/completed/radarr/Feeling.Butterflies.2022.1080p.AMZN.WEB-DL.DDP2.0.H.264-NTb/RrDdFh3U6iYokxDkhi56P8izO1eH1ZeBfwRVzk71.mkv [v4.5.1.7174] System.NullReferenceException: Object reference not set to an instance of an object. at NzbDrone.Core.CustomFormats.CustomFormatCalculationService.ParseCustomFormat(MovieFile movieFile, Movie movie, List`1 allCustomFormats) in D:\a\1\s\src\NzbDrone.Core\CustomFormats\CustomFormatCalculationService.cs:line 183 at NzbDrone.Core.MediaFiles.MovieImport.Specifications.UpgradeSpecification.IsSatisfiedBy(LocalMovie localMovie, DownloadClientItem downloadClientItem) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\MovieImport\Specifications\UpgradeSpecification.cs:line 29 at NzbDrone.Core.MediaFiles.MovieImport.ImportDecisionMaker.EvaluateSpec(IImportDecisionEngineSpecification spec, LocalMovie localMovie, DownloadClientItem downloadClientItem) in D:\a\1\s\src\NzbDrone.Core\MediaFiles\MovieImport\ImportDecisionMaker.cs:line 190 2023-05-02 09:38:36.8|Debug|ImportDecisionMaker|File rejected for the following reasons: [Permanent] UpgradeSpecification: Object reference not set to an instance of an object. ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Radarr#7400
No description provided.