Copied to clipboard

Flag this post as spam?

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


  • Deryn Johnstone 4 posts 74 karma points
    1 week ago
    Deryn Johnstone
    0

    System.NullReferenceException: The object reference was not set to an object instance

    Hi guys,

    I tried to modify a few image elements but unfortunately, it has messed up the my website.

    I am getting the below error message.

    System.NullReferenceException: The object reference was not set to an object instance.
       at Umbraco.Core.Models.PublishedContent.PublishedContentType..ctor (IContentTypeComposition contentType, IPublishedContentTypeFactory factory) in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Models \ PublishedContent \ PublishedContentType.cs: line 23.
       at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper. <> c__DisplayClass3_0. <GetContentTypesByAlias> b__0 () in C: \ Work Directory \ GenerationDigitale \ SW \ Projects \ Umbraco \ umbraco8 \ GridTypeGridEditorEditor. cs: line 160.
       at Umbraco.Core.Cache.AppCacheExtensions. <> c__DisplayClass5_0`1. <GetCacheItem> b__0 () in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Cache \ AppCacheExtensions.cs: line 62.
       at Umbraco.Core.Cache.FastDictionaryAppCacheBase. <> c__DisplayClass21_0. <GetSafeLazy> b__0 () in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Cache \ FastDictionaryAppCacheBase.cs: Line 285.
    --- End of batch monitoring from the previous location where the exception was raised ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
       at Umbraco.Core.Cache.WebCachingAppCache.Get (String key, Func`1 factory, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, CacheDependency dependency) in d: \ a \ 1 \ s \ src \ Umbraco. Core \ Cache \ WebCachingAppCache.cs: Line 180.
       at Umbraco.Core.Cache.WebCachingAppCache.Get (String key, Func`1 factory) in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Cache \ WebCachingAppCache.cs: line 34.
       at Umbraco.Core.Cache.DeepCloneAppCache.Get (String key, Func`1 factory)
       at Umbraco.Core.Cache.AppCacheExtensions.GetCacheItem [T] (IAppCache provider, String cacheKey, Func`1 getCacheItem) in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Cache \ AppCacheExtensions.cs: line 62.
       at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.GetContentTypesByAlias ​​(String contentTypeAlias) in C: \ Work Directory \ GenerationDigitale \ SW \ Projects \ Umbraco \ umbraco8 \ GridEditor \ Our.UmbracoEitorTypeGridDirTypeGid.
       at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.ConvertValue (String id, String contentTypeAlias, String dataJson) in C: \ Work Directory \ GenerationDigitale \ SW \ Projects \ Umbraco \ umbraco8 \ GridEditor \ Our.UmbracoEitorTypeGridGridEdgeType .cs: ​​line 42.
       at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper. <> c__DisplayClass0_0. <ConvertValueToContent> b__0 () in C: \ Work Directory \ GenerationDigitale \ SW \ Projects \ Umbraco \ umbraco8 \ GridEdridEditorEditorEditorEuritor \ Our.Uype cs: line 36.
       at Umbraco.Core.Cache.AppCacheExtensions. <> c__DisplayClass5_0`1. <GetCacheItem> b__0 () in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Cache \ AppCacheExtensions.cs: line 62.
       at Umbraco.Core.Cache.FastDictionaryAppCacheBase. <> c__DisplayClass21_0. <GetSafeLazy> b__0 () in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Cache \ FastDictionaryAppCacheBase.cs: Line 285.
    --- End of batch monitoring from the previous location where the exception was raised ---
       at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()
       at Umbraco.Core.Cache.HttpRequestAppCache.Get (String key, Func`1 factory) in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Cache \ HttpRequestAppCache.cs: line 81.
       at Umbraco.Core.Cache.AppCacheExtensions.GetCacheItem [T] (IAppCache provider, String cacheKey, Func`1 getCacheItem) in d: \ a \ 1 \ s \ src \ Umbraco.Core \ Cache \ AppCacheExtensions.cs: line 62.
       at Our.Umbraco.DocTypeGridEditor.Helpers.DocTypeGridEditorHelper.ConvertValueToContent (String id, String contentTypeAlias, String dataJson) in C: \ Work Directory \ GenerationDigitale \ SW \ Projects \ Umbraco \ umbraco8 \ GridEditor \ Doc.TypeGridRd .cs: ​​line 32.
       at ASP._Page_app_plugins_doctypegrideditor_render_DocTypeGridEditor_cshtml.Execute () in D: \ Projects \ Web8 \ app_plugins \ doctypegrideditor \ render \ DocTypeGridEditor.cshtml: line 26.
       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy ()
       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy ()
       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy (WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
       at Umbraco.Web.Mvc.ProfilingView.Render (ViewContext viewContext, TextWriter writer) in d: \ a \ 1 \ s \ src \ Umbraco.Web \ Mvc \ ProfilingView.cs: line 25.
       at System.Web.Mvc.Html.PartialExtensions.Partial (HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
       at ASP._Page_Views_Partials_grid_editors_Base_cshtml.Execute () in D: \ Projects \ Web8 \ Views \ Partials \ grid \ editors \ Base.cshtml: line 20.
    
Please Sign in or register to post replies

Write your reply to:

Draft