Import Argument of Invoke Workflow crashes by clicking on expansion icon Studio 21.10.4

Hello everyone, I would like some help to check a bug in the invoke workflow file activity within uipath studio.

In uipath studio version 21.10.4 when I call the invoke workflow file and after putting the value of the argument, the version shows me a symbol (Image number 1) that would expand the argument, but when I click on the symbol, I get an error.

Short error message:
Exception has been thrown by the target of an invocation.

Expanded error message:

Error: System.Exception: Exception has been thrown by the target of an invocation.
—> System.Exception: Target property is not an argument
at UiPath.Studio.Plugin.Workflow.Extensions.ModelItemExtensions.GetArgumentInnerType(ModelProperty targetProperty)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.BaseExpressionMenuProvider.LookupExpressionAssistants(ModelProperty targetProperty)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.BaseExpressionMenuProvider.GetContextFor(ExpressionEditorMenuOptions options, ModelProperty property)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.RegularExpressionMenuProvider.LoadMenuItems(ExpressionEditorMenuOptions options, IExpressionEditorWrapper editor, IExpressionMenuItemCallbacks callbacks, ModelProperty targetProperty)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.BaseExpressionMenuProvider.GetMenuItems(ExpressionEditorMenuOptions options, IExpressionEditorWrapper editor, IExpressionMenuItemCallbacks callbacks)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.ExpressionPopupButtonViewModel.Update(Boolean toolOptionsOnly)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.ExpressionPopupButton.PopupButton_PopupOpening(Object sender, CancelRoutedEventArgs e)
— End of inner exception stack trace —
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Delegate.DynamicInvokeImpl(Object args)
at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at ActiproSoftware.Windows.Controls.PopupButton.OnPopupOpening(CancelRoutedEventArgs e)
at ActiproSoftware.Windows.Controls.PopupButton.CoerceIsPopupOpenPropertyValue(DependencyObject obj, Object value)
at System.Windows.DependencyObject.ProcessCoerceValue(DependencyProperty dp, PropertyMetadata metadata, EntryIndex& entryIndex, Int32& targetIndex, EffectiveValueEntry& newEntry, EffectiveValueEntry& oldEntry, Object& oldValue, Object baseValue, Object controlValue, CoerceValueCallback coerceValueCallback, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, Boolean skipBaseValueChecks)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
at ActiproSoftware.Windows.Controls.PopupButton.set_IsPopupOpen(Boolean value)
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.ExpressionPopupButton.Activate()
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.ExpressionPopupButton.TempFixFocusDueToDisablingAndReEnablingMainWindow()
at UiPath.Studio.Plugin.Workflow.ExpressionEditor.ExpressionTextBoxEnhancements.ExpressionPopupButton.ExpressionPopupButton.PopupButton_PreviewMouseDown(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler), HResult -2146232828

Image 1

Image 2

Image 3

Erroexpandido

Important note: The symbol is not shown when the argument field is empty. It appears only after adding a variable to receive the value.

May someone help me?

Thanks

2 Likes

Hello @Diego_Leite!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

I have the same issue. Any solution so far?

I have the same issue as well. Can we please get an update? I’m using 2021.10.5.

Same issue here for our team. Extremely frustrating. 2021.10.5

I having the same issue as well. Is there any solution from UiPath Platform Team?
Current version: 2021.10.6

Having the same issue.

Still no updates from UiPath?