Rem0o / FanControl.HWInfo

FanControl plugin to import HWInfo sensors.
MIT License
186 stars 26 forks source link

v84/v85 FanControl crash #4

Closed northmatt closed 3 years ago

northmatt commented 3 years ago

Full crash on startup, the process lasts for a second before exiting out.

log:

2021-07-01 4:17:04 PM: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Domain.PluginService.<LoadPlugins>d__3.MoveNext()
   at FanControl.Domain.ComputerAccessLayer..ctor(ILogger logger, IPluginService pluginService)
Rem0o commented 3 years ago

What files do you have in the plugin folder?

northmatt commented 3 years ago

Tried rebuilding with the latest FanControl.Plugins files. Use to use the one built on Mar 24th. Both old and new builds gave the same error.

Files in plugin folder: -FanControl.HWInfo.dll -FanControl.HWInfo.pdb -FanControl.Plugins.dll -FanControl.Plugins.xml

Rem0o commented 3 years ago

Remove everything but FanControl.HWInfo.dll, pretty sure FanControl.Plugins.dll being in there cause the issue as it is already loaded. Will add protection for that.

northmatt commented 3 years ago

I was a bit slow in trying your suggestion and didnt try in v85, but did try in v86 and it worked.