2022-03-28 10:58:52,855 MES Request 接口映射出错:System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.NullReferenceException: 未将对象引用设置到对象的实例。 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.UploadFile(JObject body) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 183 --- 内部异常堆栈跟踪的结尾 --- 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 在 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 55 2022-03-28 14:19:15,070 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57 2022-03-28 14:22:21,504 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57 2022-03-28 14:22:48,722 System.InvalidCastException: 指定的转换无效。 在 Glorysoft.SECS.EQP.Handlers.S6F11Handler.Execute(SECSContext context, SECSTransaction trans, SECSErrors err, String errmsg) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\S6F11Handler.cs:行号 35 2022-03-28 14:23:37,473 System.InvalidCastException: 指定的转换无效。 在 Glorysoft.SECS.EQP.Handlers.S6F11Handler.Execute(SECSContext context, SECSTransaction trans, SECSErrors err, String errmsg) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\S6F11Handler.cs:行号 35 2022-03-28 14:24:24,499 System.InvalidCastException: 指定的转换无效。 在 Glorysoft.SECS.EQP.Handlers.S6F11Handler.Execute(SECSContext context, SECSTransaction trans, SECSErrors err, String errmsg) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\S6F11Handler.cs:行号 35 2022-03-28 14:26:52,820 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57 2022-03-28 16:12:14,867 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57 2022-03-28 16:24:28,428 MES Request 接口映射出错:System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.InvalidOperationException: 线程间操作无效: 从不是创建控件“Connect”的线程访问它。 在 System.Windows.Forms.Control.get_Handle() 在 System.Windows.Forms.Control.get_InternalHandle() 在 System.Windows.Forms.Control.Update() 在 System.Windows.Forms.ButtonBase.ResetFlagsandPaint() 在 System.Windows.Forms.Button.PerformClick() 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.RequestStart(JObject body) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 175 --- 内部异常堆栈跟踪的结尾 --- 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 在 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 58 2022-03-28 16:28:08,776 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57 2022-03-28 16:29:56,629 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57 2022-03-28 16:31:09,692 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57 2022-03-28 16:32:32,175 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57 2022-03-28 16:33:02,157 MES Request 接口映射出错:System.Exception: method is null 在 ARI.EAP.HOST.Handlers.EventHandlers.MESRequestHandler.Execute(MQMessage mQMessage) 位置 D:\工作\株洲EAP\ARI.EAP.HOST\Handlers\EventHandlers\MESRequestHandler.cs:行号 57