A New Guard Page For The Stack Cannot Be Created

Cannot debug process due to a new guard page for the stack cannot be created error.

Issue Description:

In Studio version 22.10 and older, the error message "A new guard page for the stack cannot be created" can occur if using Non-serializable variables (such as JObj variable types) in a workflow that contains persistent Wait and Resume type activities (such as "Wait for Data Validation and Continue Activity" or the "Wait for Form Action Activity")


Resolution:

Change the scope of the Non-Serializable variables (such as JObj variable) to be separate from the scope containing the persistent "Wait and Resume" type activities.

Example of Scoping issue for Non-Serializable variable in the same scope as the "wait and resume" type activity


Next Steps:

If the solution above does not resolve the issue, open a Support ticket and share the following with UiPath Product Support

  • Share the project in a zipped folder
  • After causing the error to occur, share a screenshot of the error message received
  • Share the UiPath Diagnostic Tool report from the machine where the issue is occurring.