mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #4592] [CLOSED] [Multiple Fixes] Null reference exceptions #10181
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/4592
Author: @BaronGreenback
Created: 11/27/2020
Status: ❌ Closed
Base:
master← Head:PossibleNullReferenceExceptions📝 Commits (5)
dc1cec9Merge pull request #98 from jellyfin/master44348cePossible System.NullExceptions026f5b8more2cd728eFew more.dd65d30Update JsonGuidConverter.cs📊 Changes
31 files changed (+136 additions, -63 deletions)
View changed files
📝
Emby.Dlna/DlnaManager.cs(+1 -1)📝
Emby.Server.Implementations/ApplicationHost.cs(+5 -5)📝
Emby.Server.Implementations/IO/ManagedFileSystem.cs(+1 -1)📝
Emby.Server.Implementations/Library/LibraryManager.cs(+4 -0)📝
Emby.Server.Implementations/Library/MediaSourceManager.cs(+2 -2)📝
Emby.Server.Implementations/Library/Resolvers/Movies/BoxSetResolver.cs(+1 -1)📝
Emby.Server.Implementations/Library/Resolvers/PlaylistResolver.cs(+10 -6)📝
Emby.Server.Implementations/LiveTv/LiveTvManager.cs(+23 -5)📝
Emby.Server.Implementations/LiveTv/TunerHosts/BaseTunerHost.cs(+4 -1)📝
Emby.Server.Implementations/LiveTv/TunerHosts/HdHomerun/HdHomerunUdpStream.cs(+7 -1)📝
Emby.Server.Implementations/ScheduledTasks/ScheduledTaskWorker.cs(+1 -1)📝
Emby.Server.Implementations/Session/SessionWebSocketListener.cs(+1 -1)📝
Emby.Server.Implementations/SyncPlay/SyncPlayManager.cs(+1 -1)📝
Emby.Server.Implementations/Updates/InstallationManager.cs(+1 -1)📝
Jellyfin.Api/Controllers/DashboardController.cs(+1 -1)📝
Jellyfin.Api/Helpers/DynamicHlsHelper.cs(+3 -3)📝
Jellyfin.Server.Implementations/Users/UserManager.cs(+3 -3)📝
Jellyfin.Server/Program.cs(+1 -1)📝
MediaBrowser.Common/Extensions/HttpContextExtensions.cs(+1 -1)📝
MediaBrowser.Common/Plugins/LocalPlugin.cs(+3 -3)...and 11 more files
📄 Description
Spent some time with ReSharper to go through the code looking for possible null reference exceptions.
Apart from the Path.X possibilities - these are fixes for what it threw up, based up possible null return values and nullable variables.
Some are belt and braces, and may no longer be needed after nullable.
Some might be deemed to be extreme and unneeded.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.