cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Nintex Newbie

What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

Hi,

 

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.

Labels: (1)
0 Kudos
Reply
11 Replies
Highlighted
Nintex Newbie

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

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

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

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.

0 Kudos
Reply
Highlighted
Automation Master
Automation Master

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

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.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

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.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

Stay tuned, I hope we'll sort it out with Nintex Support.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

This apparently has to do with International edition of Nintex Workflow, Language Packs, locales and regional settings.  Escalated as a bug.

0 Kudos
Reply
Highlighted
Not applicable

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

Thanks for the update Alexey.

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

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: 3.1.0.2 - English. However, I am able to publish a very basic workflow with only the Create Item action in it, in a different site.

Alexey Krasheninnikov

0 Kudos
Reply
Highlighted
Nintex Newbie

Re: What can cause 'Create item in another site' to throw 'Object reference not set to an instance of an object'?

Jump to solution

Requested an update from our support engineer yesterday. Waiting.

Actually, I've seen it with English version yesterday as well.

0 Kudos
Reply