Hi I have received the below error while running the process, however, if I run the bot in debug mode, nothing happens, and this problem only affects in one bot, not all of them. I have also downgrade upgrade my dependencies and packages as well and restart my machine and studio but same happens. Below error is for reference.
23.6.1-beta.13324+Branch.release-v23.6.1.Sha.52787b786620e97cba5555379da6e6bb423b3e6b
JIT compilation is disabled for non-Legacy projects. ExpressionToCompile { Code = New Dictionary(of string, string) from {{“Jan”,“01”},{“Feb”,“02”},{“Mar”,“03”},{“Apr”,“04”},{“May”,“05”},{“Jun”,“06”},{“Jul”,“07”},{“Aug”,“08”},{“Sep”,“09”},{“Oct”,“10”},{“Nov”,“11”},{“Dec”,“12”}}, ImportedNamespaces = System.Collections.Generic.HashSet1[System.String], VariableTypeGetter = System.Func
2[System.String,System.Type], LambdaReturnType = System.Collections.Generic.Dictionary`2[System.String,System.String] } should have been compiled by the Studio Compiler.
System.InvalidOperationException: JIT compilation is disabled for non-Legacy projects. ExpressionToCompile { Code = New Dictionary(of string, string) from {{“Jan”,“01”},{“Feb”,“02”},{“Mar”,“03”},{“Apr”,“04”},{“May”,“05”},{“Jun”,“06”},{“Jul”,“07”},{“Aug”,“08”},{“Sep”,“09”},{“Oct”,“10”},{“Nov”,“11”},{“Dec”,“12”}}, ImportedNamespaces = System.Collections.Generic.HashSet1[System.String], VariableTypeGetter = System.Func
2[System.String,System.Type], LambdaReturnType = System.Collections.Generic.Dictionary2[System.String,System.String] } should have been compiled by the Studio Compiler. at UiPath.Executor.DisabledJustInTimeCompiler.CompileExpression(ExpressionToCompile compilerRequest) at System.Activities.JitCompilerHelper
1.Compile[T](LocationReferenceEnvironment environment, Boolean isLocationReference)
at System.Activities.JitCompilerHelper1.Compile[T](CodeActivityPublicEnvironmentAccessor publicAccessor, Boolean isLocationReference) at Microsoft.VisualBasic.Activities.VisualBasicHelper.Compile[T](String expressionText, CodeActivityPublicEnvironmentAccessor publicAccessor, Boolean isLocationExpression) at Microsoft.VisualBasic.Activities.VisualBasicValue
1.CacheMetadata(CodeActivityMetadata metadata)
at System.Activities.CodeActivity1.OnInternalCacheMetadataExceptResult(Boolean createEmptyBindings) at System.Activities.Activity
1.OnInternalCacheMetadata(Boolean createEmptyBindings)
at System.Activities.Activity.InternalCacheMetadata(Boolean createEmptyBindings, IList1& validationErrors) at System.Activities.ActivityUtilities.ProcessActivity(ChildActivity childActivity, ChildActivity& nextActivity, Stack
1& activitiesRemaining, ActivityCallStack parentChain, IList1& validationErrors, ProcessActivityTreeOptions options, ProcessActivityCallback callback) at System.Activities.ActivityUtilities.ProcessActivityTreeCore(ChildActivity currentActivity, ActivityCallStack parentChain, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList
1& validationErrors)
at System.Activities.ActivityUtilities.CacheRootMetadata(Activity activity, LocationReferenceEnvironment hostEnvironment, ProcessActivityTreeOptions options, ProcessActivityCallback callback, IList`1& validationErrors)
at System.Activities.Hosting.WorkflowInstance.ValidateWorkflow(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.Hosting.WorkflowInstance.RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
at System.Activities.WorkflowApplication.EnsureInitialized()
at System.Activities.WorkflowApplication.Enqueue(InstanceOperation operation, Boolean push)
at System.Activities.WorkflowApplication.SimpleOperationAsyncResult.Run(TimeSpan timeout)
at System.Activities.WorkflowApplication.BeginRun(AsyncCallback callback, Object state)
at UiPath.Executor.RobotRunner.RunWorkflow()