Copied to clipboard

Flag this post as spam?

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


  • Simon Dingley 1431 posts 3332 karma points c-trib
    Jun 06, 2012 @ 16:35
    Simon Dingley
    0

    Null Reference Exception Thrown in RemoveFromDataTypeCache

    Got a client running 4.7.1.1 and whenever a doctype save is attempted the following exception is thrown?

    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.cms.businesslogic.ContentType.RemoveFromDataTypeCache(String contentTypeAlias) +273
       umbraco.cms.businesslogic.ContentType.FlushFromCache(Int32 id) +226
       umbraco.cms.businesslogic.ContentType.set_Text(String value) +273
       umbraco.controls.ContentTypeControlNew.save_click(Object sender, ImageClickEventArgs e) +89
       System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e) +186
       System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +164
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3706

     

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

  • Adam Nelson 26 posts 185 karma points c-trib
    Jan 06, 2013 @ 21:48
    Adam Nelson
    0

    Getting the same thing on 4.8.1. App pool recycle fixed it.

    Hate that I have to resort to that though.

  • Simon Dingley 1431 posts 3332 karma points c-trib
    Jan 06, 2013 @ 21:50
    Simon Dingley
    0

    I never got to the bottom of it but yes it is a bit of a brute force fix unfortauntely.

  • 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