today I worked with a workflow, which runs problemlessly with UiPath 2019.6, an which throws an error with UiPath 2019.7:
RemoteException wrapping System.Exception: Error detecting project version
System.NotSupportedException: Error detecting project version
at UiPath.Project.ProjectData.WorkflowDataUpgrade.GetLatestProjectData(String projectContent, Dictionary`2 availablePackages)
at UiPath.Project.WorkflowProjectRepository.OpenProjectFromText(String projectContent, String projectPath)
at UiPath.Service.Impl.ExecutionManager.Job.OpenProjectAsUser(WorkflowProjectRepository projectRepository, String projectPath, ImpersonableIdentity identity)
at UiPath.Service.Impl.ExecutionManager.Job.GetProject(ImpersonableIdentity identity)
at UiPath.Service.Impl.ExecutionManager.Job.<Start>d__29.MoveNext()
As suggested here I deleted the project.json file and generate a new one, but without any effect, the error throws again.
Actually, this error happens before the Robot service did not catch up with the Studio update (thus you are trying to run 2019.7 process on a 2019.6 robot service.
Most annoyingly, this bug manifests itself every other version (with a different error message every time )
The easiest fix is to restart your machine, this should get the new Robot service started.
If not, a clean install from 2019.7 will surely do the trick
Good Morning Maciej,
thank you very much, a restart solves the problem.
For better understanding: I use UiPath in a VM and in a normal case I never restart it, only suspend.
Is it generally better, after an UiPath update, to reboot the machine? (As behavior rule )
Thanks and best regards
Stefan