Copied to clipboard

Flag this post as spam?

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


  • Malte Baden Hansen 61 posts 158 karma points
    Aug 09, 2010 @ 19:32
    Malte Baden Hansen
    0

    editNodeTypeNew.aspx null pointer when clicking on doc type

    Hi
    Something weird just happened.

    Suddenly i get a "Object reference not set to an instance of an object." when trying to edit my document types or media types..

    The error happens in editNodeTypeNew.aspx

    All i did was using visual studio to create a user control that got the current nodeID using node.GetCurrent()

    This is my stack trace

    [NullReferenceException: Object reference not set to an instance of an object.]
    umbraco.controls.ContentTypeControlNew.setupInfoPane() in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\umbraco\controls\ContentTypeControlNew.ascx.cs:105
    umbraco.controls.ContentTypeControlNew.OnInit(EventArgs e) in d:\TeamCity\buildAgent\work\7380c184e9fcd3ea\umbraco\presentation\umbraco\controls\ContentTypeControlNew.ascx.cs:782
    System.Web.UI.Control.InitRecursive(Control namingContainer) +142
    System.Web.UI.Control.InitRecursive(Control namingContainer) +390
    System.Web.UI.Control.InitRecursive(Control namingContainer) +390
    System.Web.UI.Control.InitRecursive(Control namingContainer) +390
    System.Web.UI.Control.InitRecursive(Control namingContainer) +390
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1476

    Thanks in advance!

  • Malte Baden Hansen 61 posts 158 karma points
    Aug 09, 2010 @ 19:41
    Malte Baden Hansen
    0

    Whoa, now everything is working again.
    And i have no idea what i did, and if i even did anything.

    I hope someone can get any useful information out of the stack trace :)

  • 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.

Please Sign in or register to post replies