I create a class "Email Subscription" and added to the contour workflow "When the form has been Submitted". It has been working until recent upgrade of Umbraco 4.7.1 and Contour 1.1.11.
The symptom is that everything still works in the background, db insert & email sent, but after workflow is done, instead of get out and return a nice Thank you message which I set in the contour form "Message on submit", it gives me a .NET error.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] Umbraco.Forms.Data.StringHelper.(String , Object ) +77 Umbraco.Forms.Data.StringHelper.ParsePlaceHolders(HttpContext Context, Record record, String value) +321 Umbraco.Forms.UI.Usercontrols.RenderForm.RenderUi() +4768 Umbraco.Forms.UI.Usercontrols.RenderForm.nextPage(Object sender, EventArgs e) +257 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +153 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3706
I have tried to google this error everywhere and even on umbraco forum and still no luck. One note is that I don't recall using Umbraco.Forms.Data anywhere in my class. Any advice would greatly appreciate as I ran out of ideas to debug this issue. Thanks in advance !
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.]
Umbraco.Forms.Data.StringHelper.(String , Object ) +77
Umbraco.Forms.Data.StringHelper.ParsePlaceHolders(HttpContext Context, Record record, String value) +321
Umbraco.Forms.UI.Usercontrols.RenderForm.RenderUi() +4768
Umbraco.Forms.UI.Usercontrols.RenderForm.nextPage(Object sender, EventArgs e) +257
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +153
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3706
so far, this is the 1st workflow i create and has been working with previous version of contour and umbraco. but since umbraco got updated to 4.7.1, contour is also requires to update to latest to work with that version of umbraco.......sadly somehow broke my workflow.
Workflow stops working after upgrade
I create a class "Email Subscription" and added to the contour workflow "When the form has been Submitted". It has been working until recent upgrade of Umbraco 4.7.1 and Contour 1.1.11.
The symptom is that everything still works in the background, db insert & email sent, but after workflow is done, instead of get out and return a nice Thank you message which I set in the contour form "Message on submit", it gives me a .NET error.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.] Umbraco.Forms.Data.StringHelper.(String , Object ) +77 Umbraco.Forms.Data.StringHelper.ParsePlaceHolders(HttpContext Context, Record record, String value) +321 Umbraco.Forms.UI.Usercontrols.RenderForm.RenderUi() +4768 Umbraco.Forms.UI.Usercontrols.RenderForm.nextPage(Object sender, EventArgs e) +257 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +153 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3706
I have tried to google this error everywhere and even on umbraco forum and still no luck. One note is that I don't recall using Umbraco.Forms.Data anywhere in my class. Any advice would greatly appreciate as I ran out of ideas to debug this issue. Thanks in advance !
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:
Comment author was deleted
Do all workflows stop working or just a specific one?
so far, this is the 1st workflow i create and has been working with previous version of contour and umbraco. but since umbraco got updated to 4.7.1, contour is also requires to update to latest to work with that version of umbraco.......sadly somehow broke my workflow.
Comment author was deleted
Ok and would it be possible to try one of the default workflows to see if you have the same issue there.
Also if you create a simple sample form without any workflows attached do you get the issue there... ?
Cheers,
Tim
is working on a reply...