jellyfin / jellyfin-plugin-bookshelf

https://jellyfin.org
MIT License
212 stars 20 forks source link

App: Error in "Open Packaging Format" #14

Closed davispuh closed 4 years ago

davispuh commented 4 years ago

Log spammed with

[2020-06-13 00:54:15.085 +03:00] [ERR] [71] App: Error in "Open Packaging Format"
System.NullReferenceException: Object reference not set to an instance of an object.
   at Jellyfin.Plugin.Bookshelf.Providers.BookProviderFromOpf.ReadOpfData(MetadataResult`1 bookResult, String metaFile, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Bookshelf.Providers.BookProviderFromOpf.GetMetadata(ItemInfo info, IDirectoryService directoryService, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RefreshWithProviders(MetadataResult`1 metadata, TIdType id, MetadataRefreshOptions options, List`1 providers, ItemImageProvider imageService, CancellationToken cancellationToken) in /mnt/AUR/jellyfin/src/jellyfin-10.5.5/MediaBrowser.Providers/Manager/MetadataService.cs:line 708
[2020-06-13 00:54:16.129 +03:00] [ERR] [50] App: Error in "Open Packaging Format"
System.NullReferenceException: Object reference not set to an instance of an object.
   at Jellyfin.Plugin.Bookshelf.Providers.BookProviderFromOpf.ReadOpfData(MetadataResult`1 bookResult, String metaFile, CancellationToken cancellationToken)
   at Jellyfin.Plugin.Bookshelf.Providers.BookProviderFromOpf.GetMetadata(ItemInfo info, IDirectoryService directoryService, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.RefreshWithProviders(MetadataResult`1 metadata, TIdType id, MetadataRefreshOptions options, List`1 providers, ItemImageProvider imageService, CancellationToken cancellationToken) in /mnt/AUR/jellyfin/src/jellyfin-10.5.5/MediaBrowser.Providers/Manager/MetadataService.cs:line 708

System:

anthonylavado commented 4 years ago

Moved to the bookshelf plugin repository. As per #13, which version of the plugin are you using?

itegulov commented 4 years ago

I have also experienced this and it should be fixed by https://github.com/jellyfin/jellyfin-plugin-bookshelf/pull/10. In particular, https://github.com/jellyfin/jellyfin-plugin-bookshelf/pull/10/commits/55a0928a5fee5f25a1c5ccafa716894054c975c6 introduces additional null checks to OPF reader.

davispuh commented 4 years ago

That's nice, but that branch haven't been merged. I'm using newest version that there is in list 3.0.0.0

oddstr13 commented 4 years ago

Merged and in plugin repos for Jellyfin 10.6.0