Hi,
We are getting following error message when we try to import a NFW file. We suspect this to be a Buid version mismatch issue.
Server Error in '/' Application.
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] Nintex.Workflow.Activities.Adapters.NWSwitchAdapter.Nintex.Workflow.Activities.Adapters.IActivityDesignTime.Render(ActivityContext context, HtmlGenericControl[]& childActivityZones) +145 Nintex.Workflow.ActivityReference.GetRenderedActivity(SPWeb web, WorkflowRenderStyle style, NWActionConfig config, Guid listId, SPContentTypeId contentTypeId, HtmlGenericControl[]& childActivityZones, ActivityHistoryState state, WorkflowHistory before, WorkflowHistory after, ActionStatistics actionStatistics, WorkflowType workflowType, Object data) +554
[NWActivityAdapterInvokeException: Error rendering activity of type Nintex.Workflow.Activities.Adapters.NWSwitchAdapter, Nintex.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12. Render style was DesignTime. ListId was 13f8b6f0-c53f-4df5-91de-ba4522ed5d31. Config state was <NWActionConfig LCustLbl="false" RCustLbl="false" TCustLbl="false" BCustLbl="false" ShowCustomComments="false"><HideUI>false</HideUI><BLabel>Delivery Method?</BLabel><LLabel>Fax</LLabel><RLabel>Email</RLabel><TLabel>Switch</TLabel><CustomComments /><ExpectedDuration>-1</ExpectedDuration><Assembly>Nintex.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=913f6bae0ca5ae12</Assembly><Type>Nintex.Workflow.Activities.Adapters.NWSwitchAdapter</Type><IsValid>true</IsValid><ConditionUse>None</ConditionUse><Parameters><Parameter Name="BranchCount"><PrimitiveValue Value="5" ValueType="2" /></Parameter><Parameter Name="SwitchVariable"><ListLookup LookupType="ThisItemLookup"><ListId>{96EF0634-CC52-41A0-A5DF-EB9D7CF57EE1}</ListId><Field Name="Delivery_x0020_Method" Type="Text" /></ListLookup><Coercion>AsDNString</Coercion></Parameter></Parameters><FieldReferences><FieldReference Name="Fax" Value="" Dirty="None" InternalFieldName="" /><FieldReference Name="Email" Value="" Dirty="None" InternalFieldName="" /><FieldReference Name="__NWDEFAULTBRANCH__" Value="" Dirty="None" InternalFieldName="" /></FieldReferences><ChildActivities /><Outcomes /><AssociationColumns /><StartOnCreateConditions /><StartOnChangeConditions /><LogMessage>false</LogMessage><HistoryNote /><HasDefaultMessage>false</HasDefaultMessage><UserContext>Default</UserContext><SelectedUserContext>Default</SelectedUserContext><CustomWorkflowStatuses /></NWActionConfig>.] Nintex.Workflow.ActivityReference.GetRenderedActivity(SPWeb web, WorkflowRenderStyle style, NWActionConfig config, Guid listId, SPContentTypeId contentTypeId, HtmlGenericControl[]& childActivityZones, ActivityHistoryState state, WorkflowHistory before, WorkflowHistory after, ActionStatistics actionStatistics, WorkflowType workflowType, Object data) +1595 Nintex.Workflow.WorkflowRenderer.AddConfigToRender(NWActionConfig config, HtmlContainerControl parentControl, Guid listId, SPContentTypeId contentTypeId, ImportContext importContext) +367 Nintex.Workflow.WorkflowRenderer.AddConfigToRender(NWActionConfig config, HtmlContainerControl parentControl, Guid listId, SPContentTypeId contentTypeId, ImportContext importContext) +1812 Nintex.Workflow.WorkflowRenderer.AddConfigToRender(NWActionConfig config, HtmlContainerControl parentControl, Guid listId, SPContentTypeId contentTypeId, ImportContext importContext) +1812 Nintex.Workflow.WorkflowRenderer.AddConfigToRender(NWActionConfig config, HtmlContainerControl parentControl, Guid listId, SPContentTypeId contentTypeId, ImportContext importContext) +1812 Nintex.Workflow.WorkflowRenderer.AddConfigToRender(NWActionConfig config, HtmlContainerControl parentControl, Guid listId, SPContentTypeId contentTypeId, ImportContext importContext) +1812 Nintex.Workflow.WorkflowRenderer.RenderSnippet(NWActionConfigurations configs, Guid listId, SPContentTypeId contentTypeId, Boolean massageIdsForCurrentItem, ImportContext importContext) +247 Nintex.Workflow.PartialWorkflows.WorkflowPart.GetRenderedHtml(Guid listId, SPContentTypeId contentTypeId, Boolean massageIdsForCurrentItem, ImportContext importContext) +221
[NWRenderWorkflowException: Error rendering workflow segment.] Nintex.Workflow.PartialWorkflows.WorkflowPart.GetRenderedHtml(Guid listId, SPContentTypeId contentTypeId, Boolean massageIdsForCurrentItem, ImportContext importContext) +429 Nintex.Workflow.ApplicationPages.ImportWorkflow.btnSubmit_Click() +1135 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981 |
Version Information: Microsoft .NET Framework Version:2.0.50727.5472; ASP.NET Version:2.0.50727.5456