Showing results for 
Search instead for 
Did you mean: 

An unexpected error has occurred ... you can use this page temporarily close Web Parts or remove personal settings


**You may receive this error message in SharePoint 2010, 2013, 2016 and 2019.

When clicking on an email link to approve workflow task, the following error might occur:

Sorry, something went wrong
An unexpected error has occurred. 
Web Parts Maintenance Page. If you have permission, you can use this page temporarily close Web Parts or remove personal settings. For more information contact your site administrator.

Additionally, all workflows with Flexi task action in a site collection end with Error Occurred status and the following error message displays in the workflow status page:

Error is task. Object reference not set to an instance of an object

The following error is also logged in ULS logs:

System.NullReferenceException: Object reference not set to an instance of an object.   
 at Nintex.Workflow.HumanApproval.ApprovalContextUtil.AddApprovalContextData(NWContextDataCollection data, Approver approver, NWWorkflowContext parentContext, ContextDataOptions options, Boolean taskitemDependentOnly)   
 at Nintex.Workflow.HumanApproval.Message.Send(Approver approver, Message persistTo)   
 at Nintex.Workflow.HumanApproval.MultiOutcomeTask.ClosePendingApprovers(Boolean informPendingApprovers, Outcome reason, UpdateApproverTaskMode closureMethod)   
 at Nintex.Workflow.Activities.MultiOutcomeInternal.TaskCompleted(Object sender, EventArgs e)   
 at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)   
 at System.Workflow.Activities.ReplicatorActivity.Cancel(ActivityExecutionContext executionContext)   
 at System.Workflow.ComponentModel.CompositeActivity.HandleFault(ActivityExecutionContext executionContext, Exception exception)   
 at System.Workflow.ComponentModel.ActivityExecutor`1.HandleFault(T activity, ActivityExecutionContext executionContext, Exception exception)   
 at System.Workflow.ComponentModel.ActivityExecutor`1.HandleFault(Activity activity, ActivityExecutionContext executionContext, Exception exception)   
 at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)   
 at System.Workflow.Runtime.Scheduler.Run()




  • Restore EditForm.aspx.
  • Create a new Task List by navigating to Nintex Workflow Designer > Workflow Settings > Task List > Create New
  • Remove any custom master page if applicable to verify if this custom master page interfering the form opening. 


Additional Information

This error is the result of the EditForm.aspx having been deleted from WebPart Maintenance page for Workflow Task list.
It might also be permission related. For more information, see Web Parts Maintenance Page - Approver task form, deleted web part.


Version history
Revision #:
36 of 36
Last update:
‎02-04-2021 11:45 AM
Updated by: