Error approving Nintex Form Flexi-task on Mobile device.

  • 22 November 2017
  • 2 replies
  • 10 views

Badge +2

I am getting a SharePoint Error after approving a flexi-task generated from a NINTEX workflow using a mobile device.

I am using NINTEX Forms to display the task approval page as there is no Approve/Reject on the default SharePoint task form.

This is the URL devised to get the mobile device to access the task form.

http://central-dev/isign/_layouts/15/NintexForms/Mobile/EditForm.aspx?ID=247&List=40e6c0f3-9bb9-4612-8d19-6cf0f8382915

Att1.png shows the form page up correctly.

Att2.png shows the error page after selected approve/reject and submit.

Att3.png shows my content types on the task list.  I saw another post about this, so am including it.

The same page if used without the mobile device or emulation (full desktop mode) works fine.

Any thoughts or insights would be helpful.  Thanks.

Please let me know any more information required and I can provide.

The SharePoint Logs show two unexpected results:

Unexpected 1:

db2dd259-b43d-420c-b39d-ebe53ddde712 Stack trace:    at Microsoft.SharePoint.SPListCollection.ItemByInternalName(String strInternalName, Boolean bThrowException)     at Microsoft.SharePoint.SPListCollection.GetListById(Guid uniqueID, Boolean bThrowException)     at Microsoft.SharePoint.SPListCollection.get_Item(Guid uniqueID)     at Nintex.Workflow.NWListWorkflowContext.get_WorkflowInstance()     at bBw=.Xh0=.Yx0=(NWContextDataCollection ZB0=, Approver ZR0=, NWWorkflowContext Zh0=, ContextDataOptions Zx0=, Boolean aB0=)     at Nintex.Workflow.HumanApproval.ListWorkflowApprovalContext.GetContextData(Approver appover, ContextDataOptions options, Boolean forceRefresh, Boolean retrieveForLogging)     at Nintex.Forms.SharePoint.NintexWorkflowMethods.AddContextData(SPWeb web, Guid list, SPListItem listItem, ContextDataCollection formsContextData, Collection`1 variables, PublishingType publishingType, Nullable`1 instanceId, Approver approver, ContextKeyCollection keysUsed, ContextDataOptions contextDataOptions)     at Nintex.Forms.SharePoint.NintexWorkflowMethods.FormPreProcessorGetContextData(SPWeb web, Guid list, SPListItem listItem, String serializedForm, Collection`1 variables, PublishingType publishingType, SPControlMode formMode, Nullable`1 instanceId, Approver approver)     at Nintex.Forms.SharePoint.TaskHelper.FormPreprocessor(SPListItem task, SPListItem listItem, String serializedForm, Collection`1 workflowVariables, Approver approver, HttpRequest request, SPControlMode sharePointControlMode)     at Nintex.Workflow.Forms.ControlTemplates.TaskForm.GetForm(String formKey, FormData formData, Boolean hasEnterpriseLicense)     at Nintex.Workflow.Forms.ControlTemplates.TaskForm.ConfigureFiller(Boolean hasEnterpriseLicense)     at Nintex.Workflow.Forms.ControlTemplates.TaskForm.InitialiseForm(Boolean hasEnterpriseLicense)     at Nintex.Workflow.Forms.ControlTemplates.TaskForm.OnInit(EventArgs e)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.InitRecursive(Control namingContainer)     at System.Web.UI.Control.AddedControl(Control control, Int32 index)     at Microsoft.SharePoint.WebPartPages.ListFormWebPart.CreateChildControls()     at System.Web.UI.Control.EnsureChildControls()     at System.Web.UI.WebControls.WebParts.Part.get_Controls()     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Page.LoadAllState()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)     at System.Web.UI.Page.ProcessRequest()     at System.Web.UI.Page.ProcessRequest(HttpContext context)     at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()     at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)     at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)     at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)     at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.UnsafeIISMethods.MgdIndicateCompletion(IntPtr pHandler, RequestNotificationStatus& notificationStatus)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)     at System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr rootedObjectsPointer, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags)

Unexpected 2:

System.NullReferenceException: Object reference not set to an instance of an object.    at Nintex.Forms.SharePoint.FormControls.TaxonomyFormControl.OnLoad(EventArgs e)     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Control.LoadRecursive()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


2 replies

Badge +2

Interestingly, it also give the error when clicking on cancel.   I tried adding a Source to the URL with no success.

Badge +2

I reproduced this error in our test environment, but was able to succeed when using our staging environment.

So, I noticed a few things.

In dev & test, the Workflow Tasks folder is http://xxx.com/site/lists/Workflow%20Tasks/....

In staging, the Workflow Tasks folder in http://xxx.com/site/WorkflowTasks/...

No %20 and no Lists

Also, in dev & test we upgraded Nintex to the latest, in staging it has not yet been upgraded.

Reply