Hi,
I am suddenly getting an odd Plugin error in Simhub. What could be the issue and how to fix it?
This is from the error log.
[2021-08-13 18:58:52,847] INFO - Loading plugins controls
[2021-08-13 18:58:52,849] ERROR - An error occured while loading plugin settings control for Gary Swallow Plugin: System.ArgumentNullException: Value cannot be null.
Parameter name: input
at System.Text.RegularExpressions.Regex.Replace(String input, String replacement)
at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement)
at GarySwallow.PluginSdk.SettingsControl..ctor()
at GarySwallow.PluginSdk.GarySwallowDataPlugin.GetWPFSettingsControl(PluginManager pluginManager)
at SimHubWPF.MainWindow.LoadPluginsControls()
The only thing that changed in my system is a new wheelbase.
Best,
David
Bumping this. Anybody had the same issue and found a solution? Attaching an updated log:
INFO Starting SimHub v7.4.6 (build time : 16/07/2021 09:34:01) INFO Administrator privileges : True INFO OS version : Microsoft Windows NT 10.0.19043.0, Windows 10.0.19043 INFO License status : Licensed INFO Process priority : Normal INFO (Re)Starting AssettoCorsaCompetizione Game Manager and plugin manager INFO Creating Assetto Corsa Competizione game manager (ACSharedMemory.ACCManager) INFO AssettoCorsaCompetizione game manager created INFO Setting listening UDP to 9000 INFO Checking configuration status for AssettoCorsaCompetizione INFO Configuration status for AssettoCorsaCompetizione: GameConfigured INFO Creating plugin manager with plugins : SerialDashPlugin, AudioControlPlugin, JoystickPlugin, GraphicalDashPlugin, GarySwallowDataPlugin, KeyboardEmulatorPlugin, NextionPlugin, ShakeITBSV3Plugin, ShakeITMotorsV3Plugin, LapHitoryPlugin, ThrustmastersPlugin INFO Creating SimHub.Plugins.AudioControl.AudioPlayPlugin plugin INFO Creating SimHub.Plugins.DataPlugins.SystemInfosProvider plugin INFO Creating SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin INFO Creating SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin INFO Creating SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin INFO Creating SimHub.Plugins.Web.WebPlugin plugin INFO Creating GarySwallow.PluginSdk.GarySwallowDataPlugin plugin INFO Creating SimHub.Plugins.AudioControl.AudioControlPlugin plugin INFO Creating SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin INFO Creating SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin INFO Creating SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin INFO Creating SimHub.Plugins.InputPlugins.JoystickPlugin plugin INFO Creating SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin plugin INFO Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin INFO Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin INFO Creating SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin INFO Creating SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin INFO Initialising SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin INFO Initialising SimHub.Plugins.DataPlugins.SystemInfosProvider plugin INFO Initialising SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin INFO Initialising GarySwallow.PluginSdk.GarySwallowDataPlugin plugin INFO Initialising SimHub.Plugins.AudioControl.AudioControlPlugin plugin INFO Initialising SimHub.Plugins.DataPlugins.Thrustmaster.ThrustmastersPlugin plugin INFO Initialising SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin INFO Initialising SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin INFO Initialising SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin INFO Initialising SimHub.Plugins.AudioControl.AudioPlayPlugin plugin INFO Initialising SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin INFO Initialising SimHub.Plugins.InputPlugins.JoystickPlugin plugin INFO Initialising SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin INFO Initialising SimHub.Plugins.OutputPlugins.Nextion.NextionPlugin plugin INFO Initialising SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin INFO JoystickManager : Starting game controllers detection INFO Loading font list INFO JoystickManager : Found Simucube_2_Pro INFO JoystickManager : Found MECA_CUP1_ INFO JoystickManager : Found HE_Sequential_Shifter INFO JoystickManager : Found FANATEC_ClubSport_USB_Adapter_(shifter_mode) INFO JoystickManager : Found Wheel_R8_LMS INFO JoystickManager : Found Button_Box_Interface INFO JoystickManager : End of detection INFO Initialising SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin INFO Starting Arduino in Single USB mode INFO Matrix custom font custommatrixfont8x8 loaded INFO Initialising SimHub.Plugins.Web.WebPlugin plugin INFO Font list loading successful INFO Web suggested IP :192.168.1.103 INFO Web font-faces up to date INFO Plugin manager correctly initialised INFO Loading plugins controls ERROR An error occured while loading plugin settings control for Gary Swallow Plugin: System.ArgumentNullException: Value cannot be null.
Parameter name: input
at System.Text.RegularExpressions.Regex.Replace(String input, String replacement)
at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement)
at GarySwallow.PluginSdk.SettingsControl..ctor()
at GarySwallow.PluginSdk.GarySwallowDataPlugin.GetWPFSettingsControl(PluginManager pluginManager)
at SimHubWPF.MainWindow.LoadPluginsControls()INFO Game successfully loaded INFO Allocating FMOD output for Soundcard for shakers (Realtek(R) Audio) INFO [WatchDog] Stacks dump :
{
"1": [
null,
".IL_STUB_CLRtoCOM",
null,
"System.Windows.Threading.Dispatcher.GetMessage",
"System.Windows.Threading.Dispatcher.PushFrameImpl",
"System.Windows.Threading.Dispatcher.PushFrame",
"System.Windows.Application.RunDispatcher",
"System.Windows.Application.RunInternal",
"System.Windows.Application.Run",
"SimHubWPF.App.Main",
null
],
"2": [
null
],
"3": [],
"4": [],
"5": [
null,
".IL_STUB_PInvoke",
null,
"System.Runtime.Remoting.Channels.Ipc.IpcPort.WaitForConnect",
"System.Runtime.Remoting.Channels.Ipc.IpcServerChannel.Listen",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"6": [],
"7": [
"System.Threading.WaitHandle.WaitMultiple",
"System.Threading.WaitHandle.WaitAny",
"System.Net.TimerThread.ThreadProc",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"8": [],
"9": [],
"10": [],
"11": [],
"12": [],
"13": [],
"14": [],
"15": [],
"16": [],
"17": [],
"18": [],
"19": [
"System.Threading.Thread.SleepInternal",
"System.Threading.Thread.Sleep",
"NAudio.CoreAudioApi.WasapiCapture.DoRecording",
"NAudio.CoreAudioApi.WasapiCapture.CaptureThread",
"NAudio.CoreAudioApi.WasapiCapture.<StartRecording>b__35_0",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"20": [
"System.Threading.WaitHandle.WaitOneNative",
"System.Threading.WaitHandle.InternalWaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Management.MTAHelper.WorkerThread",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"23": [],
"22": [
"System.Threading.Thread.SleepInternal",
"System.Threading.Thread.Sleep",
"SerialDash.ComportScanner.<DetectComPortCore>b__23_0",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"24": [],
"26": [
"System.Threading.Thread.SleepInternal",
"System.Threading.Thread.Sleep",
"SimHub.Plugins.InputPlugins.JoystickPlugin.<Init>b__21_1",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"27": [],
"25": [],
"28": [],
"29": [],
"30": [],
"31": [],
"32": [],
"33": [],
"34": [],
"35": [],
"37": [
"System.Threading.WaitHandle.WaitOneNative",
"System.Threading.WaitHandle.InternalWaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Threading.WaitHandle.WaitOne",
"SimHub.Plugins.OutputPlugins.GraphicalDash.BitmapDisplayBase<System.__Canon>.Worker",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"39": [
"System.Threading.WaitHandle.WaitOneNative",
"System.Threading.WaitHandle.InternalWaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Threading.WaitHandle.WaitOne",
"SimHub.Plugins.OutputPlugins.GraphicalDash.BitmapDisplayBase<System.__Canon>.Worker",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"41": [
"System.Threading.WaitHandle.WaitOneNative",
"System.Threading.WaitHandle.InternalWaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Threading.WaitHandle.WaitOne",
"SimHub.Plugins.OutputPlugins.GraphicalDash.BitmapDisplayBase<System.__Canon>.Worker",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"42": [],
"44": [
"System.Threading.WaitHandle.WaitOneNative",
"System.Threading.WaitHandle.InternalWaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Threading.WaitHandle.WaitOne",
"SimHub.Plugins.OutputPlugins.GraphicalDash.BitmapDisplayBase<System.__Canon>.Worker",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"46": [
"System.Threading.WaitHandle.WaitOneNative",
"System.Threading.WaitHandle.InternalWaitOne",
"System.Threading.WaitHandle.WaitOne",
"System.Threading.WaitHandle.WaitOne",
"SimHub.Plugins.OutputPlugins.GraphicalDash.BitmapDisplayBase<System.__Canon>.Worker",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"45": [
null,
"System.Threading.Monitor.ObjWait",
"System.Threading.Monitor.Wait",
"System.Threading.Monitor.Wait",
"System.Threading.ManualResetEventSlim.Wait",
"System.Threading.Tasks.Task.SpinThenBlockingWait",
"System.Threading.Tasks.Task.InternalWait",
"System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification",
"Microsoft.AspNetCore.Hosting.WebHostExtensions.Run",
"SimHub.Plugins.Web.KestrelStartup.RunWebHost",
"SimHub.Plugins.Web.KestrelStartup+<>c__DisplayClass5_0.<Start>b__0",
"System.Threading.ThreadHelper.ThreadStart_Context",
"System.Threading.ExecutionContext.RunInternal",
"System.Threading.ExecutionContext.Run",
"System.Threading.ExecutionContext.Run",
"System.Threading.ThreadHelper.ThreadStart",
null,
null
],
"43": [],
"21": []
}INFO [WatchDog] Abnormal Inactivity detected INFO [WatchDog] Abnormal Inactivity recovered INFO Found one device on COM6 named {
"ConnectedModel": "j",
"Features": "GNIJPXV",
"TM1638ModulesCount": 0,
"UniqueId": "a9dc6a18-c568-4882-b9ec-3d5a2227ee00",
"DeviceName": "Rumble motors",
"MotorsCount": 4,
"PortName": "COM6",
"HasBoost": 0,
"HasSpeedo": 0,
"IsBluetooth": false,
"HasTacho": 0,
"HasI2CLcd": false,
"HasRGBMatrix": false,
"ExpandedFeatures": [
"mcutype",
"keepalive",
"Gear",
"Motors"
],
"MotorsBoard": "Adafruit Motor Shield V2",
"MaxAheadDatagrams": 0,
"DatagramMaxLength": 0,
"MCUModel": "ATmega328P",
"ReceivedDatagramsCount": 0
}INFO Switching device named Rumble motors to speed level 11 on COM6 INFO Switching device on port COM6 to speed level 11, 115200 bauds INFO Connected to device on COM6 named Rumble motors