Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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
Getting the same thing on 4.8.1. App pool recycle fixed it.
Hate that I have to resort to that though.
I never got to the bottom of it but yes it is a bit of a brute force fix unfortauntely.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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:
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
Getting the same thing on 4.8.1. App pool recycle fixed it.
Hate that I have to resort to that though.
I never got to the bottom of it but yes it is a bit of a brute force fix unfortauntely.
is working on a reply...