Copied to clipboard

Flag this post as spam?

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


  • Tomasz Morawski 10 posts 50 karma points
    Sep 21, 2012 @ 11:38
    Tomasz Morawski
    0

    Can't create child node containing Google Map property

    Hello !

    I installed apropriate package (2.0 for 4.9 Umbraco version) - everything went fine.

    I encounter the problem after adding property 'google map' to template.
    For the nodes that use this template and already exist i get:

    Value cannot be null.
    Parameter name: Property mapaUczestnikow (140) on Content Type szkola could not be retrieved for Document 1190 on Tab Page Mapa. To fix this problem, delete the property and recreate it.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentNullException: Value cannot be null.
    Parameter name: Property mapaUczestnikow (140) on Content Type szkola could not be retrieved for Document 1190 on Tab Page Mapa. To fix this problem, delete the property and recreate it.

    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:

    [ArgumentNullException: Value cannot be null.
    Parameter name: Property mapaUczestnikow (140) on Content Type szkola could not be retrieved for Document 1190 on Tab Page Mapa. To fix this problem, delete the property and recreate it.]
       umbraco.controls.ContentControl.CreateChildControls() +1103
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1253
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480
    

    ----------

    and for new  nodes (while creating) that are going to use template containing google map property i get:

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    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:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.businesslogic.property.Property.MakeNew(PropertyType pt, Content c, Guid versionId) +322
       umbraco.cms.businesslogic.Content.createNewVersion() +608
       umbraco.cms.businesslogic.Content.CreateContent(ContentType ct) +198
       umbraco.cms.businesslogic.web.Document.MakeNew(String Name, DocumentType dct, User u, Int32 ParentId) +373
       umbraco.contentTasks.Save() +113
       umbraco.presentation.create.dialogHandler_temp.Create(String NodeType, Int32 TypeId, Int32 NodeId, String Text) +385
       umbraco.cms.presentation.create.controls.content.doCreation() +160
       umbraco.cms.presentation.create.controls.content.sbmt_Click(Object sender, EventArgs e) +5
       System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
       System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
       System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
       System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
    



    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

     

    How to solve it ? I would really like to use this package : )
    Greetings
    Tom

Please Sign in or register to post replies

Write your reply to:

Draft