Hello Community,
i have a problem with the UiPath.Core.Activities.InvokeCode (vb net) Execution.
I think it could be a bug but I sometimes get these Exceptions:
Summary
RemoteException wrapping System.IO.FileNotFoundException: Could not find file ‘C:\Users\[MyUser]\AppData\Local\Temp\np44hbs1.dll’.
at System.IO.__Error.WinIOError(Int32 errorCode,
String maybeFullPath)
at System.IO.FileStream.Init(String path,
FileMode mode,
FileAccess access,
Int32 rights,
Boolean useRights,
FileShare share,
Int32 bufferSize,
FileOptions options,
SECURITY_ATTRIBUTES secAttrs,
String msgPath,
Boolean bFromProxy,
Boolean useLongPath,
Boolean checkHost)
at System.IO.FileStream…ctor(String path,
FileMode mode,
FileAccess access,
FileShare share)
at Microsoft.VisualBasic.VBCodeGenerator.FromFileBatch(CompilerParameters options,
String fileNames)
at System.CodeDom.Compiler.CodeCompiler.FromSourceBatch(CompilerParameters options,
String sources)
at System.CodeDom.Compiler.CodeCompiler.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch(CompilerParameters options,
String sources)
at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource(CompilerParameters options,
String sources)
at UiPath.Activities.System.Utilities.InvokeCode.CompilerRunner.Compile(String code,
Int32 errLineOffset,
Boolean generateInMemory)
at UiPath.Activities.System.Utilities.InvokeCode.CompilerRunner…ctor(String code,
String className,
String methodName,
Int32 errLineOffset,
Boolean generateInMemory)
at UiPath.Activities.System.Utilities.InvokeCode.VBCodeInvoker.GetCompilerRunner(String code,
String className,
String methodName,
Int32 errLineOffset,
Boolean inMemory)
at UiPath.Activities.System.Utilities.InvokeCode.NetCodeInvoker.GetCompilerRunner(String userCode,
List1 args, String imps, Boolean inMemory) at UiPath.Activities.System.Utilities.InvokeCode.NetCodeInvoker.Run(String userCode, List
1 inArgs,
IEnumerable`1 imps,
Object args)
at UiPath.Core.Activities.InvokeCode.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.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)
One of the codes I execute is:
Summary
cleanData.Item(3) = “Max”
cleanData.Item(4) = “Mustermann”
cleanData.Item(5) = “20031999”
The lists type is: System.Collections.Generic.List<String>
and it has a total of 23 items in it!
Can somebody explain why this happens?
Thanks in advance!
With good regards
Peter