NullReference Exception on Adding Show


#1

Sonarr version (exact version): 3.0.1.368
Mono version (if Sonarr is not running on Windows): 5.16.0.220
OS: Ubuntu 16.04.5 LTS
Debug logs: https://pastebin.com/SVnQ9R4Z
(Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here. Post in .txt not .doc, .rtf or some other formatted document)
Description of issue: Adding the show NBA All-Star Weekend (tvdb: 267081) throws a NullReference Exception.


#2

I’m not seeing this exception, what are you naming settings (namely series folder)?


#3

Series Format: {Series TitleYear} {[ImdbId]}{[TvdbId]}

Season Format: Season {season:00}

Episode Format: {Series TitleYear} - S{season:00}E{episode:00} [{QUALITY TITLE} {MEDIAINFO VIDEOBITDEPTH-}BIT {MEDIAINFO VIDEOCODEC} {MEDIAINFO AUDIOCODEC} {MEDIAINFO AUDIOCHANNELS}]{-RELEASE GROUP}

Could be because it didn’t find an IMDB match?


#4

Yeah, it’s the lack of IMDB ID. You can remove that for now, add then re-add it while we add a fix for it.


#5

The latest update seems to have fixed the issue. Thanks.

Another issue that I have noticed while adding the same show is that if I add TvMazeId too to the series folder format ({Series TitleYear} {[ImdbId]}{[TvMazeId]}{[TvdbId]}), it becomes zero (NBA All-Star Weekend (2018) [0][267081]) when the folder is created. I am assuming this is because the series does not exist on TVMaze too. However, I was always under the assumption that any missing value in brackets will simply not be added, not that it will be added as zero. Is this by design?


#6

It’s the difference between not existing and 0, 0 is a valid value, so it’s included. We’ll have to make a change for that.


closed #7

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.