Copied to clipboard

Flag this post as spam?

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


  • Felixx 18 posts 39 karma points
    Sep 30, 2010 @ 09:20
    Felixx
    0

    object reference not set..

    hi,

    great package first off!

    for some reason on only one of my doc types  i am getting an object reference not set to instance of object exception when i click on it within the standard values folder.

     

    any ideas?

    thanks,

    Felix

  • Morten Christensen 596 posts 2773 karma points admin hq c-trib
    Sep 30, 2010 @ 09:23
    Morten Christensen
    0

    Hi Felix,

    Which Data Types are you using on the specific Doc Type that throws an error? And could you add a stack trace for the error?

    - Morten

  • Felixx 18 posts 39 karma points
    Oct 01, 2010 @ 10:16
    Felixx
    0

    Hi Morten,

    The Data Types i am using are:

    1. Label
    2. UComponents - > Multi Tree Picker
    3. Content Picker
    4. True/False
    5. Upload
    6. Textbox, multiple
    7. Textstring

    Here is the stack trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       Sitereactor.StandardValues.businesslogic.FakeContentControl.AddControlNew(Property p, TabPage tp, String caption) +99
       Sitereactor.StandardValues.businesslogic.FakeContentControl.CreateChildControls() +745
       System.Web.UI.Control.EnsureChildControls() +181
       Sitereactor.StandardValues.businesslogic.FakeContentControl.OnInit(EventArgs e) +119
       System.Web.UI.Control.InitRecursive(Control namingContainer) +132
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +276
       Sitereactor.StandardValues.EditStandardValue.OnInit(EventArgs e) +1180
       System.Web.UI.Control.InitRecursive(Control namingContainer) +132
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1953
  • Felixx 18 posts 39 karma points
    Oct 01, 2010 @ 10:19
    Felixx
    0

    would like to add that its not the UComponents Multi Tree picker causing the issue as  i am using it on another doc type that i can set default values for. The rest of the controls are standard umbraco out of the box controls.

  • Morten Christensen 596 posts 2773 karma points admin hq c-trib
    Oct 01, 2010 @ 10:23
    Morten Christensen
    0

    Hi Felix,

    I have tested all the datatypes you listed except for the UComponents - > Multi Tree Picker, so that might be the cause of the problem.
    Is it possible for you to create a new DocType and add the same properties except the Multi Tree Picker and see if it works? Or simply create a DocType with only the Multi Tree Picker and see if it fails.

    - Morten

  • Morten Christensen 596 posts 2773 karma points admin hq c-trib
    Oct 01, 2010 @ 10:37
    Morten Christensen
    0

    Okay, well thats strange. I'm pretty sure I tested all the standard umbraco datatypes.

    Well, I'll have to check them one by one and in the combination you mentioned to see if I can reproduce the error. If you could help out in isolating which DataType is causing the problem that would be great.

    - Morten.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

    Continue discussion

Please Sign in or register to post replies