【异常报告】1.24.12不支持的格式转换,目标类型:Number 源对象:System.String $={数量} + 1

异常报告 · 680 次浏览
level1 创建于 2021-05-14 15:45

1.24.12.0版本,编辑动作时,双击子程序,立即崩溃。导致无法修改子程序。在上一个版本1.24.8.0的时候,还是没有遇到这种问题的。

InvalidCastException
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)
   在 Quicker.View.X.ActionStepEditorWindow.qLPNpo13eH()
   在 Quicker.View.X.ActionStepEditorWindow.DCNNARpTjo()
   在 Quicker.View.X.ActionStepEditorWindow..ctor(ActionStep step, ObservableCollection`1 variables, String subprogramIdentifier, SubProgram subProgram)
   在 Quicker.View.X.Nodes.StepListControl.SO5ddaF7BZ(StepNode  , String  )
   在 Quicker.View.X.Nodes.StepListControl.quLd7g85U2(Object  , RoutedEventArgs  )
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 Quicker.View.X.Nodes.StepNodeControl.K58LYPRY2E()
   在 Quicker.View.X.Nodes.StepNodeControl.rVJLh7mgrq(Object  , MouseButtonEventArgs  )
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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)

EvaluationException
no viable alternative at input '=' at line 1:2
no viable alternative at input '+' at line 1:8
   在 NCalc.Expression.Evaluate()
   在 Quicker.Domain.Actions.X.XActionHelper.ElgD7xHQKKRpDodxrFKk(Object )
   在 Quicker.Domain.Actions.X.XActionHelper.EvaluateExpression(String expression)
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.Ws0aek8Ef0n(String  )
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.CllaeYIIq8A(Object  )
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)

EvaluationException
no viable alternative at input '=' at line 1:2
no viable alternative at input '+' at line 1:8
   在 NCalc.Expression.Compile(String expression, Boolean nocache)
   在 NCalc.Expression.HasErrors()

 

之前不知道怎么操作,出现如下崩溃,估计和上面那个类似。

 


回复内容
CL 2021-05-14 16:12
#1

感谢反馈!已赠送兑换码,请查收邮箱。

CL 2021-05-14 16:20
#2
这个动作有在动作库不?如果没有,方便的话可以分享一下,发送链接到我QQ邮箱197906,修复后测试一下。谢谢~
level1 2021-05-14 16:47 :

已经发送邮件,邮件标题中写了帖子标题。

CL 回复 level1 2021-05-14 20:21 :

好的谢谢~

CL 2021-05-14 21:28
#3

更新了一下,可以试试是否还出 https://getquicker.net/Help/Versions 1.24.13

回复主贴