huanghongfeng
3 天以前 5ffc36a1db18d3112a9b50a9cf3953d7fcf21bae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
--------------------------------
2025/3/26 15:52:50|
Exception has been thrown by the target of an invocation.
【自定义错误】:Exception has been thrown by the target of an invocation. 
【异常类型】:TargetInvocationException 
【异常信息】:Exception has been thrown by the target of an invocation. 
【堆栈调用】:   at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at WIDESEAWCS_Core.BaseController.ApiBaseController`2.InvokeService(String methodName, Object[] parameters) in E:\宽海\LunDuiYa\项目代码\WCS\WIDESEAWCS_Server\WIDESEAWCS_Core\BaseController\ApiBaseController.cs:line 115
   at WIDESEAWCS_Core.BaseController.ApiBaseController`2.Del(Object[] key) in E:\宽海\LunDuiYa\项目代码\WCS\WIDESEAWCS_Server\WIDESEAWCS_Core\BaseController\ApiBaseController.cs:line 65
   at lambda_method926(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.<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)