Exception:不支持的格式转换,目标类型:Number 源对象:System.String 1aextraneous input 'a' expecting EndOfFile at line 1:2extraneous input 'a' expecting EndOfFile at line 1:2

报错信息

InvalidCastException
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)
   在 Quicker.Domain.Actions.X.SubPrograms.SubProgramHelper.<>c__DisplayClass17_0.AVkwsrnmMag()
   在 Quicker.Utilities.ThreadHelpers.<>c__DisplayClass0_0.VALwmwVn6Uh()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.Domain.Actions.X.SubPrograms.SubProgramHelper.<RunStandaloneSubprogram>d__17.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Quicker.Domain.Actions.ActionExecuteContext.RunSp(String spName, IDictionary`2 inputParams)
   在 Cesar.Quicker.Connector.QuickerConnector.<>c__DisplayClass9_0.<<GetFuncFromSubProgram>b__0>d.MoveNext() 位置 E:\04ProgramFile\Program\CSharp\Cesar.Quicker\Cesar.Quicker.Connector\QuickerConnector.cs:行号 41
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 QuickerInputAndOutputWpf.MainWindow.<>c__DisplayClass7_1.<<GetTextChangeFuncInForm>b__5>d.MoveNext() 位置 E:\04ProgramFile\Program\CSharp\QuickerInputAndOutputWpf\MainWindow.xaml.cs:行号 168
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 QuickerInputAndOutputWpf.MainWindow.<>c__DisplayClass7_0.<<GetTextChangeFuncInForm>b__0>d.MoveNext() 位置 E:\04ProgramFile\Program\CSharp\QuickerInputAndOutputWpf\MainWindow.xaml.cs:行号 168
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 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.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()

EvaluationException
extraneous input 'a' expecting EndOfFile at line 1:2
   在 NCalc.Expression.Evaluate()
   在 Quicker.Domain.Actions.X.XActionHelper.EvaluateExpression(String expression)
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.vQU5BPw9ZtW(String  )
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.eN15B2HOSFy(Object  )
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)

EvaluationException
extraneous input 'a' expecting EndOfFile at line 1:2
   在 NCalc.Expression.Compile(String expression, Boolean nocache)
   在 NCalc.Expression.HasErrors() 

解决方法

暂无解决方案。

相关信息
0 查看
2021-09-10 22:28
Quicker版本
版本 反馈次数