Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Palle Hansen 143 posts 396 karma points
    Mar 25, 2009 @ 13:34
    Palle Hansen
    0

    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

  • cosmogenesis 2 posts 20 karma points
    May 11, 2009 @ 19:26
    cosmogenesis
    0

    I'm having the same issue. Please help! Thanks.

  • Julius Bartkus 51 posts 76 karma points
    Oct 22, 2009 @ 01:04
    Julius Bartkus
    0

    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.

  • Masood Afzal 176 posts 522 karma points
    Oct 22, 2009 @ 01:08
    Masood Afzal
    0

    Looks like some parameters/fields are not initialized correctly while inserting macro. Try filling all fields while inerting 'form' macro

     

     

Please Sign in or register to post replies

Write your reply to:

Draft