Getting Validation error after project migration from Windows Legacy to Windows

Getting Validation error after project migration from Windows Legacy to Windows, hot to resolve:

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, IDictionary2 inputs)
at System.Activities.Validation.ActivityValidationServices.RunConstraints(ChildActivity childActivity, ActivityCallStack parentChain, IList1 constraints, ProcessActivityTreeOptions options, Boolean suppressGetChildrenViolations, IList1& validationErrors)

Hi @Rohit_More ,

Could you let us know where exactly this error surfaces ? Is it when opening the Project itself or opening only a particular workflow in the Project ?

Also, take a look at some of the posts which had reported similar errors and that was able to resolve :

Let us know some more details as asked so we can help you further.

Hi,

I’m not getting this error while opening any workflow. It was working fine earlier, I made some change in one of the Type Into activity (updated text to be typed and nothing else). Now when I’m trying to run the project I’m getting this error.

Getting this error whenever I made any single change, If I run it without making any change then it works without any issue…

Please help !

Issue seems with the Check activity, I’ve tried deleting that activity and upgrade the UiAutomation package to latest stable version and added new Check activity but still it’s giving validation error?

How can we resolve this?