Hi,
I've just installed Umb. 4.0 and made a site. On the site I've used AutoFormPlus for my Contact.
But when I'm submitting I get an error:
Object reference not set to an instance of an object.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
AutoFormPlus.AutoFormPlus.btnSubmit_Click(Object sender, EventArgs e) +3784
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +28
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2980
When I debug I see this:
Anybody know why?
PTH
-----------------------#----------------------
library:
Error returning dictionary item 'thanks'
No key thanks exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00735708029931178 0,000623
library:
Error returning dictionary item 'response'
No key response exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00794542323116485 0,000588
library:
Error returning dictionary item 'subject'
No key subject exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00843989948443168 0,000494
library:
Error returning dictionary item 'title'
No key title exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00897097256774255 0,000531
library:
Error returning dictionary item 'previous'
No key previous exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00945120120015253 0,000480
library:
Error returning dictionary item 'next'
No key next exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key)
AutoFormPlus (Doc2Form)
Hi,
I've just installed Umb. 4.0 and made a site. On the site I've used AutoFormPlus for my Contact.
But when I'm submitting I get an error:
Object reference not set to an instance of an object.
Stack Trace:
[NullReferenceException: Object reference not set to an instance of an object.]
AutoFormPlus.AutoFormPlus.btnSubmit_Click(Object sender, EventArgs e) +3784
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +28
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2980
When I debug I see this:
Anybody know why?
PTH
-----------------------#----------------------
library:
Error returning dictionary item 'thanks'
No key thanks exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00735708029931178 0,000623
library:
Error returning dictionary item 'response'
No key response exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00794542323116485 0,000588
library:
Error returning dictionary item 'subject'
No key subject exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00843989948443168 0,000494
library:
Error returning dictionary item 'title'
No key title exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00897097256774255 0,000531
library:
Error returning dictionary item 'previous'
No key previous exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key) 0,00945120120015253 0,000480
library:
Error returning dictionary item 'next'
No key next exists in dictionary
at umbraco.cms.businesslogic.Dictionary.DictionaryItem..ctor(String key)
at umbraco.library.GetDictionaryItem(String Key)
-o #-o #-o
I'm having the same issue. Please help! Thanks.
Probably autoform is looking for the dictionary items in your dictionary.
Try adding those keys: thanks,response,etc..., to your dictionary (which is in developers section) and check if autoform still throws an exception.
Looks like some parameters/fields are not initialized correctly while inserting macro. Try filling all fields while inerting 'form' macro
is working on a reply...