Rem0o / FanControl.Releases

This is the release repository for Fan Control, a highly customizable fan controlling software for Windows.
Other
13.76k stars 437 forks source link

Error on loading existing configuration adter v182 update. #2358

Closed renevdvorst closed 6 months ago

renevdvorst commented 6 months ago

Describe the bug After updating to v182 the user config can't be loaded, automatically nor manually. I get a popup saying: "Could not load the configuration. An unexpected error has been added to the log file" Clicking on Ok or cancel just repeats this message. The config seems to be overridden now with a default however the backup one also throws this error.

Is there a log.txt file next to FanControl.exe with recent date entries? 14/03/2024 15:14:46: System.NullReferenceException: Object reference not set to an instance of an object. at FanControl.ViewModels.FlatFanCurveViewModel.GetCommand() at FanControl.Domain.FanCurves.MixFanCurve.UpdateCommand(Single ) at FanControl.ViewModels.MixFanCurveViewModel.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) 14/03/2024 15:14:47: Unhandled exception in FanControl v182.0.0.0 14/03/2024 15:14:47: System.NullReferenceException: Object reference not set to an instance of an object. at FanControl.ViewModels.FlatFanCurveViewModel.GetCommand() at FanControl.Domain.FanCurves.MixFanCurve.UpdateCommand(Single ) at FanControl.ViewModels.MixFanCurveViewModel.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)

Relevant hardware specs and setup Mainboard: MAG B550M MORTAR WIFI CPU: Ryzen 5600X GPU: AMD RX6800

renevdvorst commented 6 months ago

I see now a similar issue was opened while I was writing this so feel free to close.

Rem0o commented 6 months ago

Duplicate of https://github.com/Rem0o/FanControl.Releases/issues/2357#issuecomment-1997593372