System.NullReferenceException: Object reference not set to an instance of an object. at Umbraco.Cms.Core.Models.PublishedContent.PublishedContentType..ctor(IContentTypeComposition contentType, IPublishedContentTypeFactory factory) at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.<>c__DisplayClass15_0.<GetContentTypesByAlias>b__0() in /Users/oyvind/projects/Norecopa/Our.Umbraco.DocTypeGridEditor/Helpers/DocTypeGridEditorHelper.cs:line 193 at Umbraco.Extensions.AppCacheExtensions.<>c__DisplayClass5_0`1.<GetCacheItem>b__0() at Umbraco.Cms.Core.Cache.SafeLazy.<>c__DisplayClass1_0.<GetSafeLazy>b__0() --- End of stack trace from previous location --- at Umbraco.Cms.Core.Cache.ObjectCacheAppCache.Get(String key, Func`1 factory, Nullable`1 timeout, Boolean isSliding, String[] dependentFiles) at Umbraco.Cms.Core.Cache.ObjectCacheAppCache.Get(String key, Func`1 factory) at Umbraco.Cms.Core.Cache.DeepCloneAppCache.Get(String key, Func`1 factory) at Umbraco.Extensions.AppCacheExtensions.GetCacheItem[T](IAppCache provider, String cacheKey, Func`1 getCacheItem) at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.GetContentTypesByAlias(String contentTypeAlias) in /Users/oyvind/projects/Norecopa/Our.Umbraco.DocTypeGridEditor/Helpers/DocTypeGridEditorHelper.cs:line 188 at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.ConvertValue(String id, String contentTypeAlias, String dataJson) in /Users/oyvind/projects/Norecopa/Our.Umbraco.DocTypeGridEditor/Helpers/DocTypeGridEditorHelper.cs:line 173 at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.RenderDocTypeGridEditorItem(IViewComponentHelper helper, IHtmlHelper htmlHelper, Object model) in /Users/oyvind/projects/Norecopa/Our.Umbraco.DocTypeGridEditor/Helpers/DocTypeGridEditorHelper.cs:line 212 at AspNetCoreGeneratedDocument.App_Plugins_DocTypeGridEditor_Render_DocTypeGridEditor.ExecuteAsync() in /Users/oyvind/projects/Norecopa/Our.Umbraco.DocTypeGridEditor/App_Plugins/DocTypeGridEditor/Render/DocTypeGridEditor.cshtml:line 4 at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, Boolean invokeViewStarts) at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.RenderPartialCoreAsync(String partialViewName, Object model, ViewDataDictionary viewData, TextWriter writer) at Microsoft.AspNetCore.Mvc.ViewFeatures.HtmlHelper.PartialAsync(String partialViewName, Object model, ViewDataDictionary viewData) at AspNetCore.Views_Partials_grid_editors_base.ExecuteAsync() in /app/Views/Partials/grid/editors/base.cshtml:line 11
Did you find what you were looking for?
Yes, I found it! No, I did not!Thanks for your feedback! Please note that we cannot respond unless you supply your email address.
What are you looking for?
Please give us your feedback so we can improve the information on the page. Thank you in advance for your help. Please add your email address if you would like a reply.
Please contact us by email if you have any questions.