Jump to content

NullReferenceException nel log


Recommended Posts

Athanor

Buongiorno a tutti!

Mi ritrovo nel log di Emby questo errore:

*** Error Report ***
Version: 4.5.2.0
Command line: /mnt/md0/application/emby-server/system/EmbyServer.dll -programdata /home/emby -ffdetect /usr/local/emby-server/bin/ffdetect -ffmpeg /usr/local/emby-server/bin/ffmpeg -ffprobe /usr/local/emby-server/bin/ffprobe -defaultdirectory /mnt -updatepackage emby-server-terramaster_{version}_x86_64.tar.xz -noautorunwebapp
Operating system: Linux version 4.13.16 (root@developer) (gcc version 7.1.0 (Buildroot 2017.08-rc1)) #446 SMP Thu Nov 19 16:35:43 CST 2020
Framework: .NET Core 3.1.7
OS/Process: x64/x64
Runtime: mnt/md0/application/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /home/emby
Application path: /mnt/md0/application/emby-server/system
System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
at Emby.Server.Implementations.IO.SharpCifsFileSystem.IsEnabledForPath(String path)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Int32 bufferSize, FileOpenOptions fileOpenOptions)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
at MediaBrowser.Providers.Manager.ProviderManager.SaveImage(BaseItem item, String source, ReadOnlyMemory`1 mimeType, ImageType type, Nullable`1 imageIndex, Nullable`1 saveLocallyWithMedia, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.GetLazyImage(String key, BaseItem item, ImageType type, Int32 imageIndex, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, CancellationToken cancellationToken)
at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken)
at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest)
at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Boolean IsEnabledForPath(System.String)


2021-06-24 08:19:35.368 Error HttpServer: Error processing request
*** Error Report ***
Version: 4.5.2.0
Command line: /mnt/md0/application/emby-server/system/EmbyServer.dll -programdata /home/emby -ffdetect /usr/local/emby-server/bin/ffdetect -ffmpeg /usr/local/emby-server/bin/ffmpeg -ffprobe /usr/local/emby-server/bin/ffprobe -defaultdirectory /mnt -updatepackage emby-server-terramaster_{version}_x86_64.tar.xz -noautorunwebapp
Operating system: Linux version 4.13.16 (root@developer) (gcc version 7.1.0 (Buildroot 2017.08-rc1)) #446 SMP Thu Nov 19 16:35:43 CST 2020
Framework: .NET Core 3.1.7
OS/Process: x64/x64
Runtime: mnt/md0/application/emby-server/system/System.Private.CoreLib.dll
Processor count: 4
Data path: /home/emby
Application path: /mnt/md0/application/emby-server/system
System.NullReferenceException: System.NullReferenceException: Object reference not set to an instance of an object.
at Emby.Server.Implementations.IO.SharpCifsFileSystem.IsEnabledForPath(String path)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, Int32 bufferSize, FileOpenOptions fileOpenOptions)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileStream(String path, FileOpenMode mode, FileAccessMode access, FileShareMode share, FileOpenOptions fileOpenOptions)
at MediaBrowser.Providers.Manager.ProviderManager.SaveImage(BaseItem item, String source, ReadOnlyMemory`1 mimeType, ImageType type, Nullable`1 imageIndex, Nullable`1 saveLocallyWithMedia, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.GetLazyImage(String key, BaseItem item, ImageType type, Int32 imageIndex, CancellationToken cancellationToken)
at Emby.Server.Implementations.Library.LibraryManager.ConvertImageToLocal(BaseItem item, ItemImageInfo image, Int32 imageIndex, CancellationToken cancellationToken)
at Emby.Drawing.ImageProcessor.ProcessImage(ImageProcessingOptions options, CancellationToken cancellationToken)
at MediaBrowser.Api.Images.ImageService.GetImage(ImageRequest request, Int64 itemId, BaseItem item, Boolean isHeadRequest)
at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task)
at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken)
at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Boolean IsEnabledForPath(System.String)

 

Sapete dirmi a cosa sono dovuti e come fare per risolverli?

Grazie di cuore.

Edited by Athanor
Link to post
Share on other sites
Luke

Hi, I would suggest updating to emby server 4.6. please let us know if this helps. Thanks.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...