SubProgramFailedException: 子程序(添加窗口)返回中止。解析表达式出错。
内部错误:无法将类型为“Newtonsoft.Json.Linq.JValue”的对象强制转换为类型“System.String”。
原始表达式:{storage}.Select(kv=>new CommonOperationItem(){
Title = kv.Value["title"],
Operation = "callback",
Data = "restore:" + kv.Value["hwnd"],
Icon = "icon:" + kv.Value["exepath"]
}).ToList()(自定义操作窗)
--StopFlag: OperationFailed
StackTrace:
在 Quicker.Domain.Actions.X.SubPrograms.SubProgramHelper.<>c__DisplayClass18_0.RsGnOhbQ5O1()
在 GSKZl8urTchQm8XMugX.cMw3cRuSj5k6MZmGpR3.<>c__DisplayClass7_0.kL2QCuC6rJB()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 Quicker.Domain.Actions.X.SubPrograms.SubProgramHelper.<RunStandaloneSubprogram>d__18.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
在 Quicker.Domain.Actions.ActionExecuteContext.RunSp(String spName, IDictionary`2 inputParams)
在 Quicker.Domain.Actions.ActionExecuteContext.RunSp(String spName, Object inputParams)
在 Quicker.Public.StepContext.RunSp(String spName, Object inputParams)
在 DynamicClass.MyApplication.EventCallback(IntPtr hWinEventHook, UInt32 iEvent, IntPtr hWnd, Int32 idObject, Int32 idChild, UInt32 dwEventThread, UInt32 dwmsEventTime)