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 191
   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 90
   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 220
   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
This page was updated on 05 July 2023

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 reply to you unless you send us an email.

What are you looking for?

We value your feedback so we can improve the information on the page. Please add your email address if you would like a reply. Thank you in advance for your help.!

Please contact us by email if you have any questions.

Thanks for your feedback! Please note that we cannot reply to you unless you send us an email.



 

Abonnér på nyhetsbrevene fra Norecopa