Published workflow projects report "Object reference not set to an instance of an object"
search cancel

Published workflow projects report "Object reference not set to an instance of an object"


Article ID: 176849


Updated On:


Workflow Solution


Customer reports intermittent problems with the following error when attempting to access Workflow type projects that have been published to their IIS server.  The error does not appear when debugging the project through Workflow Designer.

Error Details

Error Message:
Object reference not set to an instance of an object.

Message Stack:
at LogicBase.Core.Models.Dialog.ComposerForm.FormPerformanceCounters..ctor(AbstractOrchestrationProject project)
at LogicBase.Core.Models.Dialog.ComposerForm.OnUnload(EventArgs e)
at System.Web.UI.Control.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.UnloadRecursive(Boolean dispose)
at System.Web.UI.Page.ProcessRequestCleanup()
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context)
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.composerform_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



The cause of this exception is due to loading composerform.aspx page for the first compile request of the project


Loading the composer.aspx file as opposed to the composerform.aspx for the first request of the project webform will not produce this error.  When the form has successfully loaded, it will redirect to the composerform.aspx.

Applies To
Altiris Workflow Solution 6.5