# ActionLogs

ID: CC093FA2-20AE-4D8E-B938-29C0DC84FE26
ModuleName: UpdateDevices
ActionName: FC2Guids
ITCode: admin
ActionUrl: /BasicData/DeviceVariable/Delete
ActionTime: 2021-12-12 00:44:58.0749728
IP: ::1
Remark:
  System.InvalidCastException: Unable to cast object of type 'System.Guid' to type 'Microsoft.Extensions.Primitives.StringValues'.
     at IoTGateway.ViewModel.BasicData.UpdateDevices.FC2Guids(Dictionary`2 FC) in D:\Repos\iotgateway\IoTGateway.ViewModel\BasicData\UpdateDevices.cs:line 113
     at IoTGateway.ViewModel.BasicData.UpdateDevices.UpdateVaribale(IDataContext DC, DeviceService deviceService, Dictionary`2 FC) in D:\Repos\iotgateway\IoTGateway.ViewModel\BasicData\UpdateDevices.cs:line 24
     at IoTGateway.ViewModel.BasicData.DeviceVariableVMs.DeviceVariableVM.UpdateVaribale() in D:\Repos\iotgateway\IoTGateway.ViewModel\BasicData\DeviceVariableVMs\DeviceVariableVM.cs:line 64
     at IoTGateway.ViewModel.BasicData.DeviceVariableVMs.DeviceVariableVM.DoDelete() in D:\Repos\iotgateway\IoTGateway.ViewModel\BasicData\DeviceVariableVMs\DeviceVariableVM.cs:line 57
     at IoTGateway.Controllers.DeviceVariableController.Delete(String id, IFormCollection nouse) in D:\Repos\iotgateway\IoTGateway\Areas\BasicData\Controllers\DeviceVariableController.cs:line 120
     at lambda_method364(Closure , Object , Object[] )
     at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
     at Microsoft.AspNetCore.Mvc.Infrastructure.Control


ID: 0AD8ED03-4DF2-465D-9112-A2B419D0AB19
ModuleName: DeviceService
ActionName: GetDriverMethods
ITCode: admin
ActionUrl: /BasicData/Device/GetMethods/4cd32a75-ee68-4193-bea6-2bd50d675a0d
ActionTime: 2021-12-12 13:26:28.827379
IP: ::1
Remark:
  System.NullReferenceException: Object reference not set to an instance of an object.
     at Plugin.DeviceService.GetDriverMethods(Nullable`1 DeviceId) in D:\Repos\iotgateway\Plugins\Plugin\DeviceService.cs:line 172
     at IoTGateway.Controllers.DeviceController.GetMethods(Nullable`1 ID) in D:\Repos\iotgateway\IoTGateway\Areas\BasicData\Controllers\DeviceController.cs:line 286
     at lambda_method888(Closure , Object , Object[] )
     at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
  --- End of stack trace from previous location ---
     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
     at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
  --- End of stack trace from previous location ---
     


