jmarucha / FanControl.Liquidctl

Get access to the pump and temperature sensors of your AIO in FanControl
GNU General Public License v3.0
40 stars 17 forks source link

Plugin will not run on Corsair iCUE H115i ELITE CAPELLIX using an iCUE Commander Core #14

Open lewis1190 opened 1 year ago

lewis1190 commented 1 year ago

Hi there,

I've downloaded release v0.1.1, and copied the following dll and .exe into the "Plugins" folder of FanControl v1.0.0.0.

I'm running a Corsair iCUE H115i ELITE CAPELLIX Liquid CPU Cooler, which has the following plugged into an iCUE Commander Core:

When trying to start FanControl, the plugin will cause the fans LEDs to flicker, and then I get a generic "An Unexpected Error has occurred" message, prompting me to check the logs.

Here's the contents of log.txt, trimmed to the point where I used your plugin:

17/12/2022 19:36:03: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
17/12/2022 19:36:05: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Open()
17/12/2022 19:36:05: LiquidctlPlugin could not initialize or has no sensors.
17/12/2022 19:36:07: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:07: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:07: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:07: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:08: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:08: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:09: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:09: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:11: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:11: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:11: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:11: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:12: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:12: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:14: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:14: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:14: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:14: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
17/12/2022 19:36:16: Unhandled exception in FanControl v1.0.0.0
17/12/2022 19:36:16: System.NullReferenceException: Object reference not set to an instance of an object.
   at FanControl.Liquidctl.LiquidctlDevice.UpdateFromJSON(LiquidctlStatusJSON output)
   at FanControl.Liquidctl.LiquidctlDevice.LoadJSON()
   at FanControl.Liquidctl.LiquidctlPlugin.Update()
   at FanControl.Domain.BackendProviders.Plugin.PluginBackendProvider.Update()
   at System.Collections.Generic.List`1.ForEach(Action`1 action)
   at FanControl.Domain.ComputerAccessLayer.Update()
   at FanControl.Domain.ApplicationClock.DoActions()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Any ideas or feedback would be much appreciated. Thanks!