Video Screencast Help

Terminating Form Builder Component Error

Created: 30 Jan 2013 • Updated: 30 Jan 2013 | 2 comments

 

I received this error on one of my workflows which caused the workflow to go into an Exception loop. I had an Exception Trigger in the workflow but the Terminating Form Builder was after it and it was the one throwing the error. Normally I don't put any error handling on this component as it usually is connected to an End component. Does anyone know why it would throw an exception when it's just displaying a form and what the error message means?

Component Type: LogicBase.Components.FormBuilder.TerminateAndDisplayFormBuilder

Component Name: Terminating Form Builder

Error Message:

Cannot redirect after HTTP headers have been sent.

Error Stack Trace:

System.Web.HttpException: Cannot redirect after HTTP headers have been sent. at System.Web.HttpResponse.Redirect(String url, Boolean endResponse) at LogicBase.Core.Models.Dialog.ASPXDialogExecutionDelegate.Execute(HttpContext context, DialogState state) at LogicBase.Core.Models.Dialog.AbstractDialogExecutionDelegate.LogicBase.Core.ExecutionEngine.IExecutionDelegate.Execute(IData data, IOrchestrationComponent component, String& outputPath, IExecutionEngine engine, TLExecutionContext context) at LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent(TLExecutionContext context, IData data, IOrchestrationComponent comp)

Thanks,

Arya

Comments 2 CommentsJump to latest comment

reecardo's picture

This looks familiar. What build version are you on? And have you ever been provided with any rollups?

We had a task fixed in July of this year:

2870996: Formbuilder errors when browser is no longer connected... it mentions the same errors.

Error,Monday, June 18, 2012 1:35:32 PM,Exception in Technician Incident Process
 Component Name:Terminating Form Builder  Message: Cannot redirect after HTTP
headers have been sent.  StackTrace: System.Web.HttpException: Cannot redirect
after HTTP headers have been sent. at System.Web.HttpResponse.Redirect(String
url, Boolean endResponse) at
LogicBase.Core.Models.Dialog.ASPXDialogExecutionDelegate.Execute(HttpContext
context, DialogState state) at
LogicBase.Core.Models.Dialog.AbstractDialogExecutionDelegate.LogicBase.Core.Exec
utionEngine.IExecutionDelegate.Execute(IData
data, IOrchestrationComponent component, String& outputPath, IExecutionEngine
engine, TLExecutionContext context) at
LogicBase.Core.ExecutionEngine.AbstractExecutionEngine.RunComponent
(TLExecutionContext
context, IData data, IOrchestrationComponent comp)

So this will be fixed in 7.5, and theres another task indicating it's in our 7.1 SP1 rollup. The fixes are easy enough to be ported into another rollup if you're on another release.

Aryanos's picture

We're on an WF 7.1 SP1 Rollup Version 7.1.1401.59. I know I had to put in an fix for ServiceDesk to do an exception handling for a terminating form builder in one of the projects from a KB article. Reecardo, do you have any other information on what might be causing it as now I have to go back to all my projects and add the exception handling to all the these components just to be safe.

I like my beats fast and my bass down low