Validation Error - Internal constraint exception while running constraint

I’m not able to understand this error message can anyone help me ?

Validation Error 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) Process.xaml

I changed all classic check with modern check activity , but still facing this error.
Can you help me @anil_G @Aakash_Singh_Rawat @supermanPunch @Sudharsan_Ka
@Kalpesh_Chaudhari @Gokul_Jayakumar
@Yoichi @mohiniganesh15
@vishnuvarthanp
@Gokul001
@Rahul_Unnikrishnan
@vishnuvarthanp

1 Like

Can you share the screenshot from the studio @pravin_bindage ?

Hello @pravin_bindage
Try This

  1. Make a Copy of your project as a backup and Try this: Remove the Project.Json and open the Xaml file again.
  2. Otherwise, Open the Fresh project and Copy paste the all activities and configure the Variables in it.
  1. Remove json file method is working but after first run now again same error comes

@Anil_G i changed all classic check with modern check still this error throwing but error count get decreased now its only 3 previously it was 20

@pravin_bindage

Then there are some activities which are still not working properly…better analyze each file separately so that it would be easy to debug

Try checking from error deatils if there is any specific xaml mentioned in it

Cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.