After updating UiPath to the latest version 2022.12 (Dec) Beta
I gotten this error when using the “Check” Activity checkbox.
Please assist
I unable to rollback to previous UiPath version.
After updating UiPath to the latest version 2022.12 (Dec) Beta
I gotten this error when using the “Check” Activity checkbox.
Please assist
I unable to rollback to previous UiPath version.
Hi @DevTester
Have you indicated your target element in the activity? Looks like the target is empty in the activity
Yes i did too, it shows the same error
I used this activity tons of times, until the update finished, it shows error
What does the error says?.
The error might be updating it to 2022 (dec) beta version of UiPath, previously i used this activity its ok.
[Error] Main.xaml: Internal constraint exception while running constraint with name ‘Constraint’ against activity of type System.Activities.Statements.Sequence with name ‘Sequence’. Exception was: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout) at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary
2 inputs)
at System.Activities.Validation.ActivityValidationServices.RunConstraints(ChildActivity childActivity, ActivityCallStack parentChain, IList1 constraints, ProcessActivityTreeOptions options, Boolean suppressGetChildrenViolations, IList
1& validationErrors)
01/05/2023 10:57:53 => [Error] Main.xaml: Internal constraint exception while running constraint with name ‘Constraint’ against activity of type System.Activities.Statements.Sequence with name ‘Sequence’. Exception was: System.NullReferenceException: Object reference not set to an instance of an object.
at System.Activities.WorkflowApplication.Invoke(Activity activity, IDictionary2 inputs, WorkflowInstanceExtensionManager extensions, TimeSpan timeout) at System.Activities.WorkflowInvoker.Invoke(Activity workflow, IDictionary
2 inputs)
at System.Activities.Validation.ActivityValidationServices.RunConstraints(ChildActivity childActivity, ActivityCallStack parentChain, IList1 constraints, ProcessActivityTreeOptions options, Boolean suppressGetChildrenViolations, IList
1& validationErrors)
The error says like the target is empty. Could you please delete the activity and add it again?
and Update uiautomation package as well.
This activity I have been used tons of times previously it worked, but after updating it to 2022 (beta) version it does not work and give me the error above.
@DevTester
Did you update UI automation package in the project?
yes i updated to the latest version
Have you tried using modern activities
Cheers
Hello, I also hit this issue. I got a old script using legacy window mode, It works before convert. But after I converted. the “Check” activity made my script error. After that, I create a new project with one “Check” activity alone. The error still hit. Do anyone know how can I downgrade to previous version?
Found solution, just use the check/uncheck activity on the modern one.
The old check activity has been broken in the 2022 (Dec) beta update.
Hope the dev of UiPath can do sth about it.
Hi @Anil_G I’m also facing also same error, but my problem is i have used around 40 times check activity.so how can i do these modern activity chance at all 40 place at once?
I dont think you can replace all 40 at once…by if that check is for same element then you can create an pbject in object repo and proceed
Cheers
No that all are used for different boxes.Then now that Classic check activity is not use ?