Exception:子程序(buttonAddition)返回中止。运行子程序(buttonForm)失败。解析表达式出错。 内部错误:Error reading JArray from JsonReader. Path '', line 0, position 0. 原始表达式: JArray jArray=JArray.Parse({operationData}); List<string> groups=new List<string>(); foreach(JObject job in jArray){ groups.Add(job["Title"].ToString()); } _context.SetVarValue("groups",groups); {Element}["groups"]=groups; return {Element};(赋值)(运行子程序)

报错信息 1
SubProgramFailedException: 子程序(buttonAddition)返回中止。运行子程序(buttonForm)失败。解析表达式出错。
内部错误:Error reading JArray from JsonReader. Path '', line 0, position 0.
原始表达式:

JArray jArray=JArray.Parse({operationData});

List<string> groups=new List<string>();

foreach(JObject job in jArray){
	
	groups.Add(job["Title"].ToString());
}

_context.SetVarValue("groups",groups);

{Element}["groups"]=groups;

return {Element};(赋值)(运行子程序)
--StopFlag: OperationFailed
StackTrace:
   在 Quicker.Domain.Actions.X.SubPrograms.SubProgramHelper.<>c__DisplayClass18_0.UsPvTUrK0aY()
   在 MoE1YyeIs30x2wy3qEC.Fs2yS1eNF2r8TdJPfY4.<>c__DisplayClass7_0.bOWVLcyJJAs()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.Domain.Actions.X.SubPrograms.SubProgramHelper.<RunStandaloneSubprogram>d__18.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.Domain.Actions.ActionExecuteContext.<RunSpAsync>d__217.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.Domain.Actions.ActionExecuteContext.<RunSpAsync>d__218.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 DynamicClass.<ItemsControl_PreviewMouseUp>d__23.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

版本:1.44.5 2025-04-30 06:09 Microsoft Windows NT 10.0.26100.0