Copied to clipboard

Flag this post as spam?

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


  • Evan 40 posts 59 karma points
    Jan 13, 2011 @ 01:38
    Evan
    0

    Object reference not set to an instance of an object.

    How frustrating!

    So I have set up my tree structure. On each page I had two properties, a "header" (textstring) and "bodyText (ElasticTextbox from uComponents). They were on a document type that every other page inherited from.

    I then deleted these two properties, and added a whole bunch more to a specific document type and saved it.

    Now I am getting the same error on every page when I try to access it from the "Content":

     

    Server Error in '/' Application.

    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.]
    uComponents.Core.DataTypes.ElasticTextBox.ETB_Control.CreateChildControls() +78
    System.Web.UI.Control.EnsureChildControls() +102
    uComponents.Core.DataTypes.ElasticTextBox.ETB_Control.OnInit(EventArgs e) +22
    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.businesslogic.datatype.AbstractDataEditorControl.OnInit(EventArgs e) +78
    System.Web.UI.Control.InitRecursive(Control namingContainer) +140
    System.Web.UI.Control.InitRecursive(Control namingContainer) +311
    System.Web.UI.Control.InitRecursive(Control namingContainer) +311
    System.Web.UI.Control.InitRecursive(Control namingContainer) +311
    System.Web.UI.Control.InitRecursive(Control namingContainer) +311
    System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
    System.Web.UI.ControlCollection.Add(Control child) +79
    umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +6056
    umbraco.controls.ContentControl.CreateChildControls() +938
    System.Web.UI.Control.EnsureChildControls() +102
    umbraco.controls.ContentControl.OnInit(EventArgs e) +92
    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) +1460
    System.Web.UI.Control.InitRecursive(Control namingContainer) +140
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint

     

     

    Anyone have any ideas? I"ve tried adding the properties back and and I've stopped using ElasticTextBox anywhere...

    Thanks in advance.

    -Evan

  • Evan 40 posts 59 karma points
    Jan 13, 2011 @ 04:08
    Evan
    0

    All good. I've got it working. First, I backed my DB up (for good measure), then went around deleting properties off pages, eventually I removed the offending one, then I had to add them back in, being careful to avoid items that came with uComponents. It seemed to work.

    Quite time consuming and annoying though...

Please Sign in or register to post replies

Write your reply to:

Draft