huanghongfeng
3 天以前 5ffc36a1db18d3112a9b50a9cf3953d7fcf21bae
ÏîÄ¿´úÂë/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Log/È«¾ÖÒì³£´íÎóÈÕÖ¾_1743004371.log
@@ -18,3 +18,23 @@
   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)
--------------------------------
2025/5/29 10:16:38|
Unable to cast object of type 'WIDESEAWCS_QuartzJob.CommonConveyorLine' to type 'WIDESEAWCS_QuartzJob.CommonStackerCrane'.
【自定义错误】:Unable to cast object of type 'WIDESEAWCS_QuartzJob.CommonConveyorLine' to type 'WIDESEAWCS_QuartzJob.CommonStackerCrane'.
【异常类型】:InvalidCastException
【异常信息】:Unable to cast object of type 'WIDESEAWCS_QuartzJob.CommonConveyorLine' to type 'WIDESEAWCS_QuartzJob.CommonStackerCrane'.
【堆栈调用】:   at WIDESEAWCS_TaskInfoService.TaskService.GetPlcState(String TargetAddress) in F:\外出项目\广州动车段(轮对压项目)\LunDuiYa\项目代码\WCS\WIDESEAWCS_Server\WIDESEAWCS_TaskInfoService\TaskService.cs:line 969
   at Castle.Proxies.Invocations.ITaskService_GetPlcState.InvokeMethodOnTarget()
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Castle.Proxies.IService`1Proxy_3.GetPlcState(String TargetAddress)
   at WIDESEAWCS_WCSServer.Controllers.Task.TaskController.GetPlcState(String TargetAddress) in F:\外出项目\广州动车段(轮对压项目)\LunDuiYa\项目代码\WCS\WIDESEAWCS_Server\WIDESEAWCS_Server\Controllers\Task\TaskController.cs:line 78
   at lambda_method792(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.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)