What could cause a properly configured action to throw a NullReferenceException like this one in a Nintex Workflow 2013 site workflow?
Nintex.Workflow.NWActionExecutionException: Create Site Specific Item Activity ---> System.NullReferenceException: Object reference not set to an instance of an object.
at Nintex.Workflow.Activities.CreateSiteSpecificItemActivity.Process(NWWorkflowContext ctx, ActivityExecutionContext executionContext)
at Nintex.Workflow.Activities.CreateSiteSpecificItemActivity.Execute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run() -
The target list exists in the context team site, the folder gets created if missing (with expected Name but no Title), but not the item inside it.
The behavior is consistent with simpler items in trivial custom list apps within the same team site.
Any hints would be appreciated.
Solved! Go to Solution.
I suggest you to begin adding this item with only the simplest type columns, and then add another type.
For examples on your first test just add an item setting Text columns.
In that way you could isolate a possible column that is causing the problem.
You can probably see that adding the trivial "Title-only" item also fails the same way. The problem is probably specific to some site or farm level configuration, because it works fine in another environment.
I experience just the same problem.
I have set up minimal testcase, ie. default list with no custom columns and simple workflow with only 'create item in another site' action.
within the action I kept default (current) site, selected the list and specified a value for Title column.
unfortunatelly can not manage to get it working neither in this trivial setup.
I've opened a support case, where we also verified that hardcoded folder names also don't resolve the issue. I'll write back as soon as we have any important news.
This apparently has to do with International edition of Nintex Workflow, Language Packs, locales and regional settings. Escalated as a bug.
Can you give an update on the status of this bug please? I'm getting the same error ever since adding just the "Create Item" (Not "Create Item In Another Site") action to a workflow that had been working fine before then. Also, we have Nintex Version: 188.8.131.52 - English. However, I am able to publish a very basic workflow with only the Create Item action in it, in a different site.
Requested an update from our support engineer yesterday. Waiting.
Actually, I've seen it with English version yesterday as well.