Copied to clipboard

Flag this post as spam?

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


  • Petr Snobelt 923 posts 1535 karma points
    Jan 11, 2011 @ 06:43
    Petr Snobelt
    0

    Elastic testbox don't work in u4.6b

    Hi,

    I install uComponents 2.0.1, change some textboxmultiple properties to Elastic TextBox and in content section Null Reference Error occured.

    StackTrace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       uComponents.Core.DataTypes.ElasticTextBox.ETB_Control.CreateChildControls() +230
       System.Web.UI.Control.EnsureChildControls() +181
       System.Web.UI.Control.InitRecursive(Control namingContainer) +132
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +276
       umbraco.cms.businesslogic.datatype.AbstractDataEditorControl.OnInit(EventArgs e) in d:\TeamCity6\buildAgent\work\f90b8294889fbe14\umbraco\cms\businesslogic\datatype\AbstractDataEditor.cs:161
       System.Web.UI.Control.InitRecursive(Control namingContainer) +132
       System.Web.UI.Control.InitRecursive(Control namingContainer) +420
       System.Web.UI.Control.InitRecursive(Control namingContainer) +420
       System.Web.UI.Control.InitRecursive(Control namingContainer) +420
       System.Web.UI.Control.InitRecursive(Control namingContainer) +420
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +276
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) in d:\TeamCity6\buildAgent\work\f90b8294889fbe14\umbraco\presentation\umbraco\controls\ContentControl.cs:465
       umbraco.controls.ContentControl.CreateChildControls() in d:\TeamCity6\buildAgent\work\f90b8294889fbe14\umbraco\presentation\umbraco\controls\ContentControl.cs:121
       System.Web.UI.Control.EnsureChildControls() +181
       umbraco.controls.ContentControl.OnInit(EventArgs e) in d:\TeamCity6\buildAgent\work\f90b8294889fbe14\umbraco\presentation\umbraco\controls\ContentControl.cs:153
       System.Web.UI.Control.InitRecursive(Control namingContainer) +132
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +276
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) in d:\TeamCity6\buildAgent\work\f90b8294889fbe14\umbraco\presentation\umbraco\editContent.aspx.cs:103
       System.Web.UI.Control.InitRecursive(Control namingContainer) +132
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1953
    
    Any ideas?
  • Petr Snobelt 923 posts 1535 karma points
    Jan 11, 2011 @ 06:52
    Petr Snobelt
    0

    It looks like it is not related to ElasticTextBox only. similar stacktrace for togglebox

    System.NullReferenceException: Object reference not set to an instance of an object. at uComponents.Core.DataTypes.ToggleBox.TB_Control.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.WebControls.WebControl.RenderContents(HtmlTextWriter writer) at System.Web.UI.WebControls.WebControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at umbraco.uicontrols.PropertyPanel.Render(HtmlTextWriter writer) in d:\TeamCity6\buildAgent\work\f90b8294889fbe14\components\umbraco.controls\Property.cs:line 38
  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Jan 11, 2011 @ 11:56
    Lee Kelleher
    0

    Hi Petr,

    I know what this is... there's a bug/issue with the uComponents installer - when you select which data-types to create, it doesn't sort the default configuration options - and throws an error when you try to use them!

    If you go to the data-type itself ... hit save.  That will sort the config options.  Go back to your content page - it should work fine!

    Sorry about this - we'll fix the issue for the next version of uComponents.

    Cheers, Lee.

  • Petr Snobelt 923 posts 1535 karma points
    Jan 11, 2011 @ 22:38
    Petr Snobelt
    0

    Thanks a lot,  it helps.

    Maybe it can be mentioned on homepage of uComponents.

     

Please Sign in or register to post replies

Write your reply to:

Draft