Not applicable

Error Saving Workflow NullReferenceException

 

 

I’m trying to save a workflow in a SharePoint 2013 List, but I’m getting the next error:

 

“soap:ServerServer was unable to process request. ---> Object Reference not set an instance of an object”

 

There are other workflows that save without problems in the same machine, only this one have this particularity. the error in SharePoint logs is:

 

Error saving from workflow export file.: System.NullReferenceException: Object reference not set to an instance of an object.   

 

at Nintex.Workflow.Activities.Adapters.NWCollectDataAdapter.AddActivityToWorkflow(PublishContext publishContext)   

at Nintex.Workflow.Activities.Adapters.NWActionConfig.AddActivityToWorkflow(PublishContext publishContext)   

at Nintex.Workflow.WorkflowBuilder.Ayc=(PublishContext BCc=, CompositeActivity BSc=, NWActionConfig Bic=, NWActionConfig Byc=, RuleConditionReference CCc=,
     Boolean CSc=, ImportContext Cic=, AssociationColumnCollection Cyc=, ImpersonationSequenceActivity DCc=)   

at Nintex.Workflow.WorkflowBuilder.Ayc=(PublishContext BCc=, CompositeActivity BSc=, NWActionConfig Bic=, NWActionConfig Byc=, RuleConditionReference CCc=,
     Boolean CSc=, ImportContext Cic=, AssociationColumnCollection Cyc=, ImpersonationSequenceActivity DCc=)   

at Nintex.Workflow.WorkflowBuilder.Ayc=(PublishContext BCc=, CompositeActivity BSc=, NWActionConfig Bic=, NWActionConfig Byc=, RuleConditionReference CCc=,
     Boolean CSc=, ImportContext Cic=, AssociationColumnCollection Cyc=, ImpersonationSequenceActivity DCc=)   

at Nintex.Workflow.WorkflowBuilder.Ayc=(PublishContext BCc=, CompositeActivity BSc=, NWActionConfig Bic=, NWActionConfig Byc=, RuleConditionReference CCc=,
     Boolean CSc=, ImportContext Cic=, AssociationColumnCollection Cyc=, ImpersonationSequenceActivity DCc=)   

at Nintex.Workflow.WorkflowBuilder.Ayc=(PublishContext BCc=, CompositeActivity BSc=, NWActionConfig Bic=, NWActionConfig Byc=, RuleConditionReference CCc=,
     Boolean CSc=, ImportContext Cic=, AssociationColumnCollection Cyc=, ImpersonationSequenceActivity DCc=)   

at Nintex.Workflow.WorkflowBuilder.8yY=(NWActionConfigurations 9CY=, WorkflowConfig2010 9SY=, Guid 9iY=, ImportContext 9yY=, RootWorkflowActivityWithData /CY=,      CompositeActivity /SY=, AssociationColumnCollection /iY=, jCA= /yY=, WorkflowType ACc=, PublishOperationTrackingCollection ASc=, String Aic=)   

at Nintex.Workflow.WorkflowBuilder.BuildWorkflow(String wfName, NWActionConfigurations activitySet, Guid workflowId, String wfDescription, Guid listId, ImportContext      importCtx, WorkflowType category, SPWeb web, PublishOperationTrackingCollection publishOperationTracking)   

at Nintex.Workflow.Publishing.Publish.SaveAWorkflow(String wfName, NWActionConfigurations configs, Guid listId, SPWeb web, ImportContext importCtx, SPContentTypeId      contentTypeId, String changeNotes)   

at NintexWorkflowWS.SaveWorkflow(String wfName, String activityConfigs, Guid listId, String contentTypeId, String changeNotes) (Build:3150)

0 Kudos
Reply
3 Replies
Not applicable

Re: Error Saving Workflow NullReferenceException

Our company recently had a similar issue after we installed a 3rd party product into SharePoint 2013.  The procduct install overwrote some line of code that affected Nintex.

Have you installed anything or made changes to SharePoint lately?

0 Kudos
Reply
Not applicable

Re: Error Saving Workflow NullReferenceException

No, I havent install anything special in SharePoint.

How do you resolve the incident in your enviroment?

0 Kudos
Reply
Not applicable

Re: Error Saving Workflow NullReferenceException

The problem was a Request Data Action, create the action again to solve the error.

0 Kudos
Reply