出现“调用的目标发生了异常”

异常报告 · 354 次浏览
yl315 创建于 2023-09-10 19:04

TargetInvocationException
   在 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)
   在 Python.Runtime.MethodBinder.Invoke(BorrowedReference inst, BorrowedReference args, BorrowedReference kw, MethodBase info, MethodBase[] methodinfo)
   在 Python.Runtime.MethodObject.Invoke(BorrowedReference target, BorrowedReference args, BorrowedReference kw, MethodBase info)
   在 Python.Runtime.MethodBinding.tp_call(BorrowedReference ob, BorrowedReference args, BorrowedReference kw)
   在 Python.Runtime.Runtime.PyRun_String(String code, RunFlagType st, BorrowedReference globals, BorrowedReference locals)
   在 Python.Runtime.PyModule.Exec(String code, BorrowedReference _globals, BorrowedReference _locals)
   在 Python.Runtime.PyModule.Exec(String code, PyDict locals)
   在 Quicker.Domain.Actions.X.BuiltinRunners.Other.RunPythonScriptStep.<>c__DisplayClass37_0.oZRe7vBglqw()
   在 Quicker.Domain.Actions.X.XActionHelper.ExecuteCommonAction(ActionExecuteContext context, ActionStep step, XAction action, Func`1 actionFunc, Action successAction, Action failAction, StepInParamDef stopIfErrorParam, StepOutParamDef isSuccessOutputParam)
   在 Quicker.Domain.Actions.X.BuiltinRunners.Other.RunPythonScriptStep.Execute(ActionStep step, ActionExecuteContext context, XAction action, String stepId)
   在 Quicker.Domain.Actions.Runner.XActionRunner.GfbAIKGUgwA(<>c__DisplayClass4_0&  )
   在 Quicker.Domain.Actions.Runner.XActionRunner.RunChildSteps(IList`1 steps, Int32 startIndex, ActionExecuteContext actionExecuteContext, XAction action, String parentStepId)
   在 Quicker.Domain.Actions.X.BuiltinRunners.GroupStepRunner.Execute(ActionStep step, ActionExecuteContext context, XAction action, String stepId)
   在 Quicker.Domain.Actions.Runner.XActionRunner.GfbAIKGUgwA(<>c__DisplayClass4_0&  )
   在 Quicker.Domain.Actions.Runner.XActionRunner.RunChildSteps(IList`1 steps, Int32 startIndex, ActionExecuteContext actionExecuteContext, XAction action, String parentStepId)
   在 Quicker.Domain.Actions.Runner.XActionRunner.ExecuteAction(ActionItem action, Int32 btnIndex, AppServer server, ActionExecuteContext actionExecuteContext)
   在 Quicker.Domain.Actions.ActionTypeManager.RunAction(ActionItem action, Int32 btnIndex, AppServer server, ActionExecuteContext actionExecuteContext)
   在 Quicker.Domain.AppServer.<>c__DisplayClass28_0.kywebARLyBG()
   在 Quicker.Utilities.ThreadHelpers.<>c__DisplayClass0_0.n1JiPmFtQSW()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   在 System.Threading.ThreadHelper.ThreadStart()

AccessViolationException
尝试读取或写入受保护的内存。这通常指示其他内存已损坏。
   在 Python.Runtime.Runtime.PyErr_Fetch(NewReference& type, NewReference& val, NewReference& tb)
   在 Python.Runtime.Finalizer.DisposeAll()
   在 Python.Runtime.Finalizer.ThrottledCollect()
   在 Python.Runtime.PyObject..ctor(StolenReference& reference)
   在 Python.Runtime.PyObject.GetItem(PyObject key)
   在 Python.Runtime.PyObject.GetItem(Int32 index)
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToList(Object value)
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)
   在 Quicker.Domain.Actions.ActionExecuteContext.wFuAhSXNvG0(String  , Object  )
   在 Quicker.Domain.Actions.ActionExecuteContext.SetVarValue(String varName, Object value)
   在 Quicker.Public.StepContext.SetVarValue(String varName, Object value)


回复内容
CL 2023-09-10 20:10
#1

试试:1)Quicker升级到最新版。 2)python使用官网下载并默认安装的环境。

回复主贴