인수를 생성하고 Assign 엑티비티 사용시 오류가 발생합니다

현재 회사 컴퓨터에서 UiPath enterprize 설치해서 사용 중인데요

인수 만들기로 인수를 하나 만들고, Assign 엑티비티를 사용하려고 하면 오류가 발생합니다.

TO 부분, VALUE 부분을 입력하려고 하면 오류 팝업이 발생하는데요.

Value cannot be null. 이라는 팝업이 발생하고 값을 입력 할 수 없습니다.

아래는 오류 세부정보를 그대로 복사한 내용입니다.

오류: System.Exception: Value cannot be null.
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object args, CultureInfo culture, Object activationAttributes)
at System.Activator.CreateInstance(Type type, Object args)
at UiPath.Studio.Plugin.Workflow.CSharp.Utilities.CSharpEditorHelper.<>c__DisplayClass10_0.b__0(Variable entry)
at System.Linq.Enumerable.SelectListIterator2.MoveNext() at System.Collections.Generic.List1.InsertRange(Int32 index, IEnumerable`1 collection)
at UiPath.Studio.Plugin.Workflow.CSharp.Utilities.CSharpEditorHelper.GetVariablesForArguments(ModelItem modelItem)
at UiPath.Studio.Plugin.Workflow.CSharp.Utilities.CSharpEditorHelper.GetVariablesInScope(ModelItem ownerActivity)
at UiPath.Studio.Plugin.Workflow.CSharp.CSharpEditor.OnEditorLoaded(Object sender, RoutedEventArgs e)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
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 -2147467261

새 프로젝트를 만들고 아무것도 건드리지 않은 창에 인수를 지정하고 Assign만 있어도 해당 오류가 발생하는데요.

Window 레거시로 설정하고 프로젝트를 만들면 오류가 발생하지 않습니다.

혹시 방화벽이나 다른 프로그램과 출동해서 발생하는 문제일까요? 혹시 원인을 알 수 있을까 싶어 글을 올립니다.

HI @sungjinmanse

Can you share the screenshot of the studio?

Regards
Sudharsan


sure, here is it.

Specify or create a variable and assign a value or initialize that variable there and check if the error is still exists

there is no error when i create the variable, but when i create the argument error occurs…


Please check the in or out direction argument.



this error happens whether in or out or in/out… :smiling_face_with_tear:

@sungjinmanse

Can you update all the packages to latest version and check again once?

Go to manage package → Update all the packages mainly System.Activities

Regards
Sudharsan

I updated the package, but the error massage still occurs…

thank’s for the answer but I have to go somewhere, so I can’t answer for the 2days from now on… :smiling_face_with_tear:

Remove UiPath Studio and try to recreate the argument and assign activity to see if the issue persists. :sweat_smile:

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.