Jump to content


Photo

NullReferenceException in CoverArt

CoverArt error exception

  • Please log in to reply
10 replies to this topic

#1 alekdavis OFFLINE  

alekdavis

    Advanced Member

  • Members
  • 36 posts
  • Local time: 01:56 AM

Posted 05 January 2018 - 10:50 PM

Trying to process a bunch of MP3 files with Unicode (Russian) names and metatags and get a bunch of exceptions in the log that look like these (do not mind Старые ПеÑни о Главном in the name of the file, it's a web display log bug, it must look normal in the actual log file):

 

2018-01-05 18:32:36.508 Info CoverArt: image enhance of Старые ПеÑни о Главном - 1 took 0.011 seconds.
2018-01-05 18:32:36.509 Error ImageProcessor: Error enhancing image
*** Error Report ***
Version: 3.2.60.0
Command line: C:\Users\XYZ\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\XYZ\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\XYZ\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\XYZ\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\XYZ\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
Operating system: Microsoft Windows NT 6.2.9200.0
64-Bit OS: True
64-Bit Process: True
User Interactive: True
Processor count: 8
Program data path: C:\Users\XYZ\AppData\Roaming\Emby-Server\programdata
Application directory: C:\Users\XYZ\AppData\Roaming\Emby-Server\system
System.NullReferenceException: Object reference not set to an instance of an object.
   at CoverArt.Skia.CoverArtBaseEnhancer.EnhanceImage(SKBitmap originalImage, ProfileDefinition profile, String itemType, String frameType, IHasMetadata item, List`1 childImages)
   at CoverArt.Skia.CoverArtAlbumEnhancer.EnhanceImageAsyncInternal(IHasMetadata item, SKBitmap originalImage, ImageType imageType, Int32 imageIndex)
   at CoverArt.Skia.CoverArtBaseEnhancer.EnhanceImageAsync(IHasMetadata item, String inputPath, String outputPath, ImageType imageType, Int32 imageIndex)
   at Emby.Drawing.ImageProcessor.<ExecuteImageEnhancers>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Emby.Drawing.ImageProcessor.<GetEnhancedImageInternal>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Emby.Drawing.ImageProcessor.<GetEnhancedImage>d__44.MoveNext()
System.NullReferenceException
   at CoverArt.Skia.CoverArtBaseEnhancer.EnhanceImage(SKBitmap originalImage, ProfileDefinition profile, String itemType, String frameType, IHasMetadata item, List`1 childImages)
   at CoverArt.Skia.CoverArtAlbumEnhancer.EnhanceImageAsyncInternal(IHasMetadata item, SKBitmap originalImage, ImageType imageType, Int32 imageIndex)
   at CoverArt.Skia.CoverArtBaseEnhancer.EnhanceImageAsync(IHasMetadata item, String inputPath, String outputPath, ImageType imageType, Int32 imageIndex)
   at Emby.Drawing.ImageProcessor.<ExecuteImageEnhancers>d__46.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Emby.Drawing.ImageProcessor.<GetEnhancedImageInternal>d__45.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Emby.Drawing.ImageProcessor.<GetEnhancedImage>d__44.MoveNext()

 


Edited by alekdavis, 05 January 2018 - 10:52 PM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157194 posts
  • Local time: 04:56 AM

Posted 09 January 2018 - 01:56 AM

@alekdavis can you give an example of a filename this is happening with? thanks.



#3 alekdavis OFFLINE  

alekdavis

    Advanced Member

  • Members
  • 36 posts
  • Local time: 01:56 AM

Posted 09 January 2018 - 02:16 AM

2018-01-05 18:32:36.508 Info CoverArt: image enhance of Старые Песни о Главном - 1 took 0.011 seconds.
2018-01-05 18:32:36.509 Error ImageProcessor: Error enhancing image
*** Error Report ***
Version: 3.2.60.0


#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157194 posts
  • Local time: 04:56 AM

Posted 09 January 2018 - 03:01 AM

what version of the cover art plugin do you have installed?



#5 alekdavis OFFLINE  

alekdavis

    Advanced Member

  • Members
  • 36 posts
  • Local time: 01:56 AM

Posted 09 January 2018 - 03:02 AM

4.0.66.0



#6 alekdavis OFFLINE  

alekdavis

    Advanced Member

  • Members
  • 36 posts
  • Local time: 01:56 AM

Posted 09 January 2018 - 01:54 PM

Btw, I do not have any files (or folders) with the name Старые Песни о Главном - 1. The series folder is called Старые Песни о Главном (1996), under which there is Season 01 folder, under which there are episodes with standard naming convention, such as Старые песни о главном - s01e01 - 1 серия (1996).mkv. I also checked the .nfo files and I do not see this exact name.


Edited by alekdavis, 09 January 2018 - 01:55 PM.


#7 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 52096 posts
  • Local time: 04:56 AM

Posted 10 January 2018 - 10:55 AM

Btw, I do not have any files (or folders) with the name Старые Песни о Главном - 1. The series folder is called Старые Песни о Главном (1996), under which there is Season 01 folder, under which there are episodes with standard naming convention, such as Старые песни о главном - s01e01 - 1 серия (1996).mkv. I also checked the .nfo files and I do not see this exact name.

 

The log message is showing the name of the item from metadata - not the file or folder name.



#8 alekdavis OFFLINE  

alekdavis

    Advanced Member

  • Members
  • 36 posts
  • Local time: 01:56 AM

Posted 10 January 2018 - 10:13 PM

Oh, okay. I'd suspect that file name would be more useful in the log file for troubleshooting (metadata can be totally wrong, but file name would always point to the correct file), but regardless, do you need any additional info? Anything else I can help with to troubleshoot this issue?



#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 157194 posts
  • Local time: 04:56 AM

Posted 10 January 2018 - 11:49 PM

We're looking into it, thanks.



#10 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 52096 posts
  • Local time: 04:56 AM

Posted 11 January 2018 - 10:53 AM

Have you customized the overlays at all?  Entered anything into the custom overlay path?



#11 alekdavis OFFLINE  

alekdavis

    Advanced Member

  • Members
  • 36 posts
  • Local time: 01:56 AM

Posted 11 January 2018 - 01:36 PM

Not sure what you mean, but I did not customize anything. Just installed the CoverArt plugin and left it as-is.







Also tagged with one or more of these keywords: CoverArt, error, exception

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users