Skip to main content
Nintex Community Menu Bar

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

  • March 26, 2021
  • 0 replies
  • 477 views
  • Translate

butlerj
Nintex Employee
Forum|alt.badge.img+20

Issue

**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()


 

 

Resolution

  • 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.

 

Did this topic help you find an answer to your question?

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings