|
- 【日志级别】:Error
- 【日志类名】:SafeCampus.Web.Core.LogExceptionHandler
- 【日志时间】:2024-07-09 11:39:26
- 【日志内容】:Json array cannot be converted to target type [SafeCampus.SqlSugar.SeedDataRecords`1[[SafeCampus.Core.WarnGroupInfo, SafeCampus.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null]]], only arrays and List<T>/IList<T>are supported
- 【异常信息】:System.InvalidCastException: Json array cannot be converted to target type [SafeCampus.SqlSugar.SeedDataRecords`1[[SafeCampus.Core.WarnGroupInfo, SafeCampus.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null]]], only arrays and List<T>/IList<T>are supported
- at NewLife.Serialization.JsonReader.ToObject(Object jobj, Type type, Object target)
- at NewLife.Serialization.JsonHelper.ToJsonEntity[T](String json)
- at SafeCampus.SqlSugar.SeedDataUtil.GetSeedData[T](String jsonName) in F:\Project\QJKJ\SafeCampus\SafeCampus.SqlSugar\Utils\SeedDataUtil.cs:line 66
- at SafeCampus.Web.Core.Controllers.Application.Business.WarnInfoController.GetWarnGroup() in F:\Project\QJKJ\SafeCampus\SafeCampus.Web.Core\Controllers\Application\Business\WarnInfoController.cs:line 124
- at lambda_method167(Closure , Object )
- at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
-
- 【日志级别】:Error
- 【日志类名】:System.Logging.FriendlyException
- 【日志时间】:2024-07-09 11:39:26
- 【日志内容】:系统异常,请联系管理员
- 【异常信息】:MoYu.FriendlyException.AppFriendlyException: 系统异常,请联系管理员
-
- 【日志级别】:Error
- 【日志类名】:SafeCampus.Web.Core.LogExceptionHandler
- 【日志时间】:2024-07-09 11:40:15
- 【日志内容】:Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'SafeCampus.Core.WarnGroupInfo' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
- To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
- Path '', line 1, position 1.
- 【异常信息】:Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'SafeCampus.Core.WarnGroupInfo' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
- To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
- Path '', line 1, position 1.
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureArrayContract(JsonReader reader, Type objectType, JsonContract contract)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
- at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
- at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
- at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
- at SafeCampus.Web.Core.Controllers.Application.Business.WarnInfoController.GetWarnGroup() in F:\Project\QJKJ\SafeCampus\SafeCampus.Web.Core\Controllers\Application\Business\WarnInfoController.cs:line 124
- at lambda_method167(Closure , Object )
- at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
-
- 【日志级别】:Error
- 【日志类名】:System.Logging.FriendlyException
- 【日志时间】:2024-07-09 11:40:15
- 【日志内容】:系统异常,请联系管理员
- 【异常信息】:MoYu.FriendlyException.AppFriendlyException: 系统异常,请联系管理员
-
- 【日志级别】:Error
- 【日志类名】:SafeCampus.Web.Core.LogExceptionHandler
- 【日志时间】:2024-07-09 11:41:55
- 【日志内容】:Json array cannot be converted to target type [SafeCampus.SqlSugar.SeedDataRecords`1[[System.Collections.Generic.List`1[[SafeCampus.Core.WarnGroupInfo, SafeCampus.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]], only arrays and List<T>/IList<T>are supported
- 【异常信息】:System.InvalidCastException: Json array cannot be converted to target type [SafeCampus.SqlSugar.SeedDataRecords`1[[System.Collections.Generic.List`1[[SafeCampus.Core.WarnGroupInfo, SafeCampus.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null]], System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]], only arrays and List<T>/IList<T>are supported
- at NewLife.Serialization.JsonReader.ToObject(Object jobj, Type type, Object target)
- at NewLife.Serialization.JsonHelper.ToJsonEntity[T](String json)
- at SafeCampus.SqlSugar.SeedDataUtil.GetSeedData[T](String jsonName) in F:\Project\QJKJ\SafeCampus\SafeCampus.SqlSugar\Utils\SeedDataUtil.cs:line 66
- at SafeCampus.Web.Core.Controllers.Application.Business.WarnInfoController.GetWarnGroup() in F:\Project\QJKJ\SafeCampus\SafeCampus.Web.Core\Controllers\Application\Business\WarnInfoController.cs:line 125
- at lambda_method167(Closure , Object )
- at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
-
- 【日志级别】:Error
- 【日志类名】:System.Logging.FriendlyException
- 【日志时间】:2024-07-09 11:41:55
- 【日志内容】:系统异常,请联系管理员
- 【异常信息】:MoYu.FriendlyException.AppFriendlyException: 系统异常,请联系管理员
-
- 【日志级别】:Error
- 【日志类名】:SafeCampus.Web.Core.LogExceptionHandler
- 【日志时间】:2024-07-09 14:14:32
- 【日志内容】:Unexpected character encountered while parsing value: w. Path '', line 0, position 0.
- 【异常信息】:Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: w. Path '', line 0, position 0.
- at Newtonsoft.Json.JsonTextReader.ParseValue()
- at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
- at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
- at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
- at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
- at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
- at SafeCampus.Web.Core.Controllers.Application.Business.WarnInfoController.SetWarnGroupDevice(String configJson) in F:\Project\QJKJ\SafeCampus\SafeCampus.Web.Core\Controllers\Application\Business\WarnInfoController.cs:line 143
- at lambda_method221(Closure , Object )
- at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
-
- 【日志级别】:Error
- 【日志类名】:System.Logging.FriendlyException
- 【日志时间】:2024-07-09 14:14:32
- 【日志内容】:系统异常,请联系管理员
- 【异常信息】:MoYu.FriendlyException.AppFriendlyException: 系统异常,请联系管理员
-
- 【日志级别】:Error
- 【日志类名】:Microsoft.Extensions.Hosting.Internal.Host
- 【日志时间】:2024-07-09 16:03:13
- 【日志内容】:BackgroundService failed
- 【异常信息】:System.OperationCanceledException: The operation was canceled.
- at System.Threading.Channels.AsyncOperation`1.GetResult(Int16 token)
- at MoYu.EventBus.ChannelEventSourceStorer.ReadAsync(CancellationToken cancellationToken)
- at MoYu.EventBus.EventBusHostedService.BackgroundProcessing(CancellationToken stoppingToken)
- at MoYu.EventBus.EventBusHostedService.ExecuteAsync(CancellationToken stoppingToken)
- at Microsoft.Extensions.Hosting.Internal.Host.TryExecuteBackgroundServiceAsync(BackgroundService backgroundService)
-
- 【日志级别】:Error
- 【日志类名】:SafeCampus.Web.Core.LogExceptionHandler
- 【日志时间】:2024-07-09 16:27:19
- 【日志内容】:Value cannot be null. (Parameter 'value')
- 【异常信息】:System.ArgumentNullException: Value cannot be null. (Parameter 'value')
- at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
- at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
- at SafeCampus.Web.Core.Controllers.Application.Business.WarnInfoController.GetInfo(Int64 Id) in F:\Project\QJKJ\SafeCampus\SafeCampus.Web.Core\Controllers\Application\Business\WarnInfoController.cs:line 59
- at lambda_method167(Closure , Object )
- at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
-
- 【日志级别】:Error
- 【日志类名】:System.Logging.FriendlyException
- 【日志时间】:2024-07-09 16:27:19
- 【日志内容】:系统异常,请联系管理员
- 【异常信息】:MoYu.FriendlyException.AppFriendlyException: 系统异常,请联系管理员
-
- 【日志级别】:Error
- 【日志类名】:SafeCampus.Web.Core.LogExceptionHandler
- 【日志时间】:2024-07-09 16:27:33
- 【日志内容】:Value cannot be null. (Parameter 'value')
- 【异常信息】:System.ArgumentNullException: Value cannot be null. (Parameter 'value')
- at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
- at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
- at SafeCampus.Web.Core.Controllers.Application.Business.WarnInfoController.GetInfo(Int64 Id) in F:\Project\QJKJ\SafeCampus\SafeCampus.Web.Core\Controllers\Application\Business\WarnInfoController.cs:line 59
- at lambda_method167(Closure , Object )
- at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.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>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
-
- 【日志级别】:Error
- 【日志类名】:System.Logging.FriendlyException
- 【日志时间】:2024-07-09 16:27:33
- 【日志内容】:系统异常,请联系管理员
- 【异常信息】:MoYu.FriendlyException.AppFriendlyException: 系统异常,请联系管理员
|