Copied to clipboard

Flag this post as spam?

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


  • Kim Søjborg Pedersen 71 posts 275 karma points
    Aug 03, 2012 @ 10:32
    Kim Søjborg Pedersen
    0

    uComponents DataTypeGrid NullReferenceException

    My setup is a clean install of Umbraco 4.8.0 with uComponents_5.0.0-alpha

    My goal is to get a DataTypeGrid with a autocomplete datatype property. I made a myAutocomplete datatype and added it to DataTypeGrid.config. Now I make a myDataTypeGrid and adding the  myAutocomplete  datatype. Finally I adding the new datatype to my Documentype. So far so good.

    Now ,when selectiong a content node I get this NullReferenceException. I read the documentation a it should be possible http://ucomponents.codeplex.com/wikipage?title=MultipleDataTypeContainerTestedDataTypes&referringTitle=MultipleDataTypeContainer 

     

    [NullReferenceException: Object reference not set to an instance of an object.]
       uComponents.DataTypes.AutoComplete.AutoCompleteDataEditorUpdatePanel.OnLoad(EventArgs e) +87
       System.Web.UI.Control.LoadRecursive() +70
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +11422583
       uComponents.DataTypes.DataTypeGrid.DataEditor.CreateChildControls() +1672
       System.Web.UI.Control.EnsureChildControls() +181
       System.Web.UI.Control.PreRenderRecursiveInternal() +59
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4200
    

     

     

  • Kim Søjborg Pedersen 71 posts 275 karma points
    Aug 03, 2012 @ 11:02
    Kim Søjborg Pedersen
    0

    Tryed with umbraco 4.7.2 and uComponents v4.x (.NET 4.0) with same result

    [NullReferenceException: Object reference not set to an instance of an object.]
       uComponents.Core.DataTypes.AutoComplete.AutoCompleteDataEditorUpdatePanel.OnLoad(EventArgs e) +87
       System.Web.UI.Control.LoadRecursive() +70
       System.Web.UI.Control.LoadRecursive() +189
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +11422583
       uComponents.Core.DataTypes.DataTypeGrid.DataEditor.CreateChildControls() +1672
       System.Web.UI.Control.EnsureChildControls() +181
       System.Web.UI.Control.PreRenderRecursiveInternal() +59
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Control.PreRenderRecursiveInternal() +221
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4200
  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Aug 04, 2012 @ 10:30
    Lee Kelleher
    0

    Thanks Kim.

    Noticed that you've created a ticket over on our CodePlex (thanks!)  We'll follow this up over there.

    http://ucomponents.codeplex.com/workitem/14742

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft