Exception:不支持的格式转换,目标类型:Number 源对象:System.String 全盖 ex:no viable alternative at input '<EOF>' at line 1:3no viable alternative at input '<EOF>' at line 1:3no viable alternative at input '<EOF>' at line 1:3

报错信息

InvalidCastException: 不支持的格式转换,目标类型:Number  源对象:System.String  全盖 ex:no viable alternative at input '<EOF>' at line 1:3
StackTrace:
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)
   在 Quicker.View.Forms.Controls.FormDropdownControl.hvgZdGLrjFprEE2OC17C(VarType type, Object )
   在 Quicker.View.Forms.Controls.FormDropdownControl.GetInputValue()
   在 Quicker.View.Forms.Controls.FormFieldWrapper.GetInputValue()
   在 Quicker.View.Forms.FormWindow.HSTgioLIpW1(Object  , FormField  )
   在 Quicker.View.Forms.Controls.BaseFormFieldControl.TriggerValueChange(FormField field)
   在 Quicker.View.Forms.Controls.FormFieldWrapper.qoKgmRNbn1a(Object  , FormField  )
   在 Quicker.View.Forms.Controls.BaseFormFieldControl.TriggerValueChange(FormField field)
   在 Quicker.View.Forms.Controls.FormDropdownControl.CbValue_OnSelectionChanged(Object sender, SelectionChangedEventArgs 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.Controls.ComboBox.OnSelectionChanged(SelectionChangedEventArgs e)
   在 System.Windows.Controls.Primitives.Selector.SelectionChanger.End()
   在 System.Windows.Controls.Primitives.Selector.SelectionChanger.SelectJustThisItem(ItemInfo info, Boolean assumeInItemsCollection)
   在 System.Windows.Controls.Primitives.Selector.OnSelectedIndexChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
   在 System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
   在 System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
   在 System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
   在 Quicker.View.Forms.Controls.ComboBoxMouseWheelBehavior.OtLgxl8g530(Object  , MouseWheelEventArgs  )
   在 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 '<EOF>' at line 1:3
StackTrace:
   在 NCalc.Expression.Evaluate()
   在 Quicker.Domain.Actions.X.XActionHelper.EvaluateExpression(String expression)
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.X3n2QndLRer(String  )
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.pR92QZAfGKo(Object  )
   在 Quicker.Domain.Actions.X.Variables.VariableHelper.ConvertToType(VarType type, Object value)

EvaluationException: no viable alternative at input '<EOF>' at line 1:3
StackTrace:
   在 NCalc.Expression.Compile(String expression, Boolean nocache)
   在 NCalc.Expression.HasErrors()

 

解决方法

暂无解决方案。

相关信息
0 查看
2024-06-01 21:14
Quicker版本
版本 反馈次数