Hi,
In one of my project I receive the following error when I try to invoke a workflow
“Invoke Workflow File: Exception has been thrown by the target of an invocation.”
It does not matter which workflow I use. This error appears every time I invoke any workflow
I have checked and the workflow does exist.
This error does not appear in other of my projects.
Do you know how to fix this project?
Thank you in advance
Yoichi
(Yoichi)
October 30, 2023, 8:31am
2
Hi,
For now, can you check and share content of $exceptionDetails at locals panel when error occurs?
Regards,
RemoteException wrapping System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> RemoteException wrapping System.TypeLoadException: Could not load type ‘Namespace_734d.InitAllSettings_Expressions’ from assembly ‘ActivityAdministrationDownloadFiles_Expressions.Framework_InitAllSettings,
Version=1.0.28.0,
Culture=neutral,
PublicKeyToken=null’.
at ActivityAdministrationDownloadFiles.Framework.InitAllSettings…ctor()
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly,
Boolean wrapExceptions)
— End of inner exception stack trace —
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly,
Boolean wrapExceptions)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder,
Object args,
CultureInfo culture)
at System.Activator.CreateInstance(Type type,
BindingFlags bindingAttr,
Binder binder,
Object args,
CultureInfo culture,
Object activationAttributes)
at System.Activator.CreateInstanceInternal(String assemblyString,
String typeName,
Boolean ignoreCase,
BindingFlags bindingAttr,
Binder binder,
Object args,
CultureInfo culture,
Object activationAttributes,
StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName,
String typeName)
at UiPath.MapFilePathToActivity_93063903935340c8aab522ec692cb083.MapFilePathToActivity(String relativePath)
at UiPath.Executor.WorkflowLoader.GetWorkflowFromXamlPath(WorkflowFile workflowFile)
at UiPath.Executor.WorkflowLoader.LoadWorkflow(String xamlPath,
String compiledWorkflowAssemblyName)
at UiPath.Executor.InProcessRunner.BeginExecute(AsyncCallback callback,
Object state)
at UiPath.Core.Activities.ExecutorInvokeActivity.BeginExecute(AsyncCodeActivityContext context,
AsyncCallback callback,
Object state)
at System.Activities.AsyncCodeActivity.InternalExecute(ActivityInstance instance,
ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor,
BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor,
BookmarkManager bookmarkManager,
Location resultLocation)
More over I have noticed that there is also proble with downloading a package from Orchestrator.
I lost Xaml files. Instead of them I can see som “Bindings” files
I have updated package UiPath.System.Activities from 22.10.4 to 22.10.5 and it solved the problem
1 Like
system
(system)
Closed
November 3, 2023, 9:00am
6
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.