AnsweredAssumed Answered

Error in data request action. Object reference not set to an instance of an object.

Question asked by luisamuneram on Jun 10, 2015
Latest reply on Jun 14, 2015 by integrations@persistentsys.com.nintex

After migration of Nintex Workflow 2007 to 2010, if a workflow contains an action to request data which was created in 2007, it generates error in data request action. Object reference not set to an instance of an object.

SharePoint log reports the following:
System.NullReferenceException: Object reference not set to an instance of an object.
at Nintex.Workflow.Administration.ContentDatabase.GetContentDatabase (SPWeb web)
at Nintex.Workflow.HumanApproval.ApproverCollection..ctor (NintexTask parentTask)
at Nintex.Workflow.HumanApproval.CollectDataFromUserTask..ctor (DatabaseID Int32, Int64 humanWorkflowID, NWWorkflowContext CTX)
at Nintex.Workflow.Activities.SetupCollectDataActivity.AfterOnTaskChanged (Object sender, ExternalDataEventArgs e)
at System.Workflow.ComponentModel.Activity.RaiseGenericEvent [T] (dependencyEvent DependencyProperty, Object sender, T e)
at System.Workflow.Activities.HandleExternalEventActivity.RaiseEvent (Object [] args)
at System.Workflow.Activities.HandleExternalEventActivity.System.Workflow.ComponentModel.IActivityEventListener<System.Workflow.ComponentModel.QueueEventArgs>.OnEvent(Object sender, QueueEventArgs e)
at System.Workflow.ComponentModel.ActivityExecutorDelegateInfo`1.ActivityExecutorDelegateOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run ()

 

any idea how to fix this?

Outcomes