Author Topic: System.NullReferenceException  (Read 2521 times)

Navigator Black

  • Newbie
  • *
  • Posts: 2
Long time Musicbee user, first time poster.
I can't seem to figure my way around this error:

MusicBee v3.3.7050.29117 (Win10.0), 21 Apr 2019 12:56:

System.NullReferenceException: Object reference not set to an instance of an object.
   at CubeIsland.LyricsReloaded.LyricsReloaded.shutdown()
   at CubeIsland.LyricsReloaded.LyricsReloaded.Finalize()

When starting up MB I get this Windows dialogue box error:
An error occurred during plugin startup:The process cannot access the file.
'C:\Users\myaccount\AppData\Roaming\MusicBee\mb_lyricsReloaded\mb_LyricsReloaded.log' because it is being used by another process.

I removed the mb_LyricsReloaded items from my installation but it still gives me this error. And MB doesn't stay open after saying OK to the error message so I can't make any changes to MB itself.

MB was playing fine then after a few songs this error appeared and crashed the app.

Help?

frankz

  • Sr. Member
  • ****
  • Posts: 3876
When this error occurs it usually means that you've got two copies of the plugin, likely one in your plugin folder wherever MB is installed and one in %AppData%\Musicbee\Plugins.  Make sure only one instance of mb_LyricsReloaded.dll is active.

I've also seen it happen when you have a hidden instance of MB running from a previous crash that is hiding in the task manager, but it's usually the first thing.
Last Edit: April 21, 2019, 10:44:30 PM by frankz

Navigator Black

  • Newbie
  • *
  • Posts: 2
Hi Frankz,

That worked, thank you! There was a copy of the .dll in the Plugins folder which I hadn't noticed.