cancel
Showing results for 
Search instead for 
Did you mean: 
Workflow Hero

Workflow elements with forms erroring out

I was having problems with my Nintex forms having an error if they were part of actions such as Flexi tasks, to do tasks and request data. After following some advice from Google, I deleted the web part on the form page. After that I am getting an error on every action that needs a form regardless of if they are Nintex forms or default SharePoint forms. The error message is "Error in request approval action. Object reference not set to an instance of an object."

I have tried to deactivate and reactivate Nintex workflow features on the site, and the error is only occurring on the one team site. I thought I'd ask if anyone else has had this issue and knows how to solve it before fully reinstalling Nintex.

0 Kudos
Reply
2 Replies
Workflow Hero

Re: Workflow elements with forms erroring out

I have done some digging in the SharePoint logs and I am getting two Unexpected level messages from Nintex Workflow 2013

(https://REDACTED/sites/team/its/Lists/Colleague Account Request/NewForm.aspx?Source=https://REDACTED/sites/team/its/Lists/Colleague%2520Account%2520Request/AllItems.aspx&RootFolder=): Nintex.Workflow.NWException: Error getting context data for 'ContextItemDisplayName'. ---> System.Exception: Cannot find item with id 0 in list 'Colleague Account Request'. Check the user has

at least read permissions. Current user: REDACTED. ---> System.ArgumentException: Item does not exist. It may have been deleted by another user.   

at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc, Boolean bExpandQuery)   

at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc)   

at Nintex.Workflow.NWListWorkflowContext.Hhs=()     -

-- End of inner exception stack trace ---   

at Nintex.Workflow.NWListWorkflowContext.Hhs=()   

at Nintex.Workflow.CommonDataItems.GetItemDisplayName()   

at Nintex.Workflow.CommonDataItems.GetValue(String key, ContextDataOptions options)   

at Nintex.Workflow.ListWorkflowType.GetContextItemDisplayName(NWWorkflowContext ctx)   

at Nintex.Workflow.NWWorkflowContext.EBs=(ContextDataOptions ERs=, Boolean Ehs=)     -

-- End of inner exception stack trace --- (Build:3080)

and

(https://REDACTED/sites/team/its/Lists/Colleague Account Request/NewForm.aspx?Source=https://REDACTED/sites/team/its/Lists/Colleague%2520Account%2520Request/AllItems.aspx&RootFolder=): Nintex.Workflow.NWException: Error getting context data for 'ContextItemUrl'. ---> System.Exception: Cannot find item with id 0 in list 'Colleague Account Request'. Check the user has

at least read permissions. Current user: REDACTED. ---> System.ArgumentException: Item does not exist. It may have been deleted by another user.  

at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc, Boolean bExpandQuery)  

at Microsoft.SharePoint.SPList.GetItemById(String strId, Int32 id, String strRootFolder, Boolean cacheRowsetAndId, String strViewFields, Boolean bDatesInUtc)  

at Nintex.Workflow.NWListWorkflowContext.Hhs=()    -

-- End of inner exception stack trace ---  

at Nintex.Workflow.NWListWorkflowContext.Hhs=()  

at Nintex.Workflow.CommonDataItems.GetItemUrl()  

at Nintex.Workflow.CommonDataItems.GetValue(String key, ContextDataOptions options)  

at Nintex.Workflow.ListWorkflowType.GetContextItemUrl(NWWorkflowContext ctx)  

at Nintex.Workflow.NWWorkflowContext.EBs=(ContextDataOptions ERs=, Boolean Ehs=)    -

-- End of inner exception stack trace --- (Build:3080)

My permissions on the site are Full Control, so permissions shouldn't be the problem.

0 Kudos
Accept as Solution Reply
Workflow Hero

Re: Workflow elements with forms erroring out

I tried doing a full reinstall of Nintex. This didn't fix the problem. Since its only the one team site having problems I have given up and made a new team site to work from.

0 Kudos
Accept as Solution Reply