Hi, does anyone have any pointers on how to go about this? Intermittently, the site throws an error although the CMS is accessible and the site comes back up once the content is republished from CMS. This is in Umbraco 6.0.3
@DM did you ever find out why this was happening? We're currently have the same issue. The log fills up with all sorts of errors, but this seems to be at the start of the issue.
2014-05-13 14:19:56,555 [96] INFO umbraco.BusinessLogic.Log - [Thread 70] Log scrubbed. Removed all items older than 2014-03-14 14:19:56
2014-05-13 14:19:56,569 [96] INFO Umbraco.Core.UmbracoApplicationBase - [Thread 70] Application shutdown. Reason: BinDirChangeOrDirectoryRename
2014-05-13 14:19:57,145 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Determining hash of code files on disk
2014-05-13 14:19:57,184 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Hash determined (took 20ms)
2014-05-13 14:19:57,202 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IApplicationStartupHandler
2014-05-13 14:19:57,843 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplicationStartupHandler, found 42 (took 639ms)
2014-05-13 14:19:57,877 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter
2014-05-13 14:19:57,904 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.PropertyEditors.IPropertyEditorValueConverter, found 2 (took 26ms)
2014-05-13 14:19:57,910 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Web.Mvc.SurfaceController
2014-05-13 14:19:57,934 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Web.Mvc.SurfaceController, found 0 (took 24ms)
2014-05-13 14:19:57,934 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Web.WebApi.UmbracoApiController
2014-05-13 14:19:58,013 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Web.WebApi.UmbracoApiController, found 17 (took 78ms)
2014-05-13 14:19:58,017 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.Media.IThumbnailProvider
2014-05-13 14:19:58,057 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IThumbnailProvider, found 3 (took 38ms)
2014-05-13 14:19:58,057 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of Umbraco.Core.Media.IImageUrlProvider
2014-05-13 14:19:58,102 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 2 (took 44ms)
2014-05-13 14:19:58,271 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.ITree
2014-05-13 14:19:58,527 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.ITree, found 60 (took 256ms)
2014-05-13 14:19:59,227 [61] INFO Umbraco.Web.Search.ExamineEvents - [Thread 1] Initializing Examine and binding to business logic events
2014-05-13 14:19:59,228 [61] INFO Umbraco.Web.Search.ExamineEvents - [Thread 1] Adding examine event handlers for index providers: 4
2014-05-13 14:19:59,237 [61] INFO Pike.Web.Trees.Events.ApplicationEventsHandler - [Thread 1] Rebuilding CustomContentTree Cache
2014-05-13 14:19:59,238 [61] INFO Pike.Web.Trees.Events.ApplicationEventsHandler - [Thread 1] Rebuilding CustomMediaTree Cache
2014-05-13 14:19:59,260 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.IApplication
2014-05-13 14:19:59,302 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.IApplication, found 7 (took 41ms)
2014-05-13 14:19:59,341 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Starting resolution types of umbraco.interfaces.ITree
2014-05-13 14:19:59,603 [61] INFO Umbraco.Core.PluginManager - [Thread 1] Completed resolution of types of umbraco.interfaces.ITree, found 29 (took 262ms)
2014-05-13 14:19:59,819 [61] INFO umbraco.BusinessLogic.Log - [Thread 98] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: Attaching SearchBoost Event Handler to: StandardIndexer
2014-05-13 14:19:59,819 [61] INFO umbraco.BusinessLogic.Log - [Thread 50] Redirected log call (please use Umbraco.Core.Logging.LogHelper instead of umbraco.BusinessLogic.Log) | Type: Debug | User: 0 | NodeId: -1 | Comment: SearchBoost startup events have run
2014-05-13 14:20:00,818 [61] INFO umbraco.content - [Thread 105] Loading content from database...
2014-05-13 14:20:01,420 [61] ERROR umbraco.cms.businesslogic.web.DocumentType - [Thread 105] Exception while trying to build DTD for Xml schema; is Umbraco installed correctly and the connection string configured?
System.InvalidOperationException: Resolution is not frozen, it is not yet possible to get values from it.
at Umbraco.Core.ObjectResolution.SingleObjectResolverBase`2.get_Value()
at Umbraco.Core.Models.ContentTypeBase.<>c__DisplayClass15.<set_Alias>b__14(String o)
at Umbraco.Core.Models.EntityBase.TracksChangesEntityBase.SetPropertyValueAndDetectChanges[T](Func`2 setValue, T value, PropertyInfo propertySelector)
at Umbraco.Core.Models.ContentTypeBase.set_Alias(String value)
at Umbraco.Core.Persistence.Factories.ContentTypeFactory.BuildEntity(DocumentTypeDto dto)
at Umbraco.Core.Persistence.Repositories.ContentTypeRepository.PerformGet(Int32 id)
at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.Get(TId id)
at Umbraco.Core.Persistence.Repositories.ContentTypeRepository.<PerformGetAll>d__2.MoveNext()
at Umbraco.Core.Persistence.Repositories.RepositoryBase`2.GetAll(TId[] ids)
at Umbraco.Core.Services.ContentTypeService.GetAllContentTypes(Int32[] ids)
at umbraco.cms.businesslogic.web.DocumentType.GetAllAsList()
at umbraco.cms.businesslogic.web.DocumentType.GenerateXmlDocumentType()
Murray, for us I think the issue was having <ContinouslyUpdateXmlDiskCache> in the umbracoSettings.config set to False. We had disabled it to speed up publishing, but it started causing this issue.
Production goes down
Hi,
The production site keeps going down with the following error with Umbraco 6.1.1:
ystem.NullReferenceException: Object reference not set to an instance of an object.
at ASP._Page_Views_MasterTemplate_cshtml.Execute() in \Views\MasterTemplate.cshtml:line 8
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 System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)
at System.Web.WebPages.WebPageBase.PopContext()
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.b__17()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
at System.Web.Mvc.Controller.<>c__DisplayClass1d.b__19()
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.b__0()
at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)
at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.b__3(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.b__3(IAsyncResult ar)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2013-08-05 14:37:36,749 [5] INFO umbraco.BusinessLogic.Log - [Thread 7] Log scrubbed. Removed all items older than 2013-06-06 14:37:36
2013-08-05 14:37:36,749 [5] INFO Umbraco.Core.UmbracoApplicationBase - [Thread 7] Application shutdown. Reason: HostingEnvironment
Can someone please help!!
What does line 8 of \Views\MasterTemplate.cshtml say?
It just accesses a node and field from that node as raw html. There seems to be no reason for this to fail.
Could this be an Examine issue? I can see the exception occurs usually after "Adding examine event handlers for index providers" in the logs.
Republshing contents fixes the issue.
Hi Funka, Any suggestions? This happens every time a change is published on CMS, even after refreshing the document cache.
Thanks for your time and help.
Hi, does anyone have any pointers on how to go about this? Intermittently, the site throws an error although the CMS is accessible and the site comes back up once the content is republished from CMS. This is in Umbraco 6.0.3
@DM did you ever find out why this was happening? We're currently have the same issue. The log fills up with all sorts of errors, but this seems to be at the start of the issue.
Did anyone find out the cause of the error:
2014-11-29 10:11:37,368 [10] INFO umbraco.BusinessLogic.Log - [Thread 8] Log scrubbed. Removed all items older than 2014-09-30 10:11:37
2014-11-29 10:11:37,374 [10] INFO Umbraco.Core.UmbracoApplicationBase - [Thread 8] Application shutdown. Reason: ConfigurationChange
Thanks
I think I have sorted this. So in case anyone elese has this problem, it is probably to do with security.
I have been deploying my site via Cruise Control and I think that my CCnet user caused permissions problems with the files in the live site.
Murray, for us I think the issue was having <ContinouslyUpdateXmlDiskCache> in the umbracoSettings.config set to False. We had disabled it to speed up publishing, but it started causing this issue.
this happens to me on a Umbraco 7.1.9 installation. As soon as I edit content I get loged out as a user
2015-02-04 20:48:45,568 [7] INFO Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Core.Media.IImageUrlProvider, found 1 (took 1ms)
2015-02-04 20:48:48,505 [7] INFO Umbraco.Web.Search.ExamineEvents - [Thread 3] Initializing Examine and binding to business logic events
2015-02-04 20:48:49,052 [7] INFO Umbraco.Web.Search.ExamineEvents - [Thread 3] Adding examine event handlers for index providers: 3
2015-02-04 20:48:50,224 [7] INFO Umbraco.Web.UmbracoModule - [Thread 3] Setting OriginalRequestUrl: www.xn--manitas-interir-jub.no:80/umbraco
2015-02-04 20:48:50,411 [7] INFO umbraco.content - [Thread 3] Loading content from disk cache...
2015-02-04 20:48:50,755 [7] INFO Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Core.Persistence.Mappers.BaseMapper
2015-02-04 20:48:50,755 [7] INFO Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Core.Persistence.Mappers.BaseMapper, found 22 (took 2ms)
2015-02-04 20:48:51,630 [7] INFO Umbraco.Core.PluginManager - [Thread 3] Starting resolution types of Umbraco.Core.PropertyEditors.IParameterEditor
2015-02-04 20:48:51,630 [7] INFO Umbraco.Core.PluginManager - [Thread 3] Completed resolution of types of Umbraco.Core.PropertyEditors.IParameterEditor, found 43 (took 3ms)
2015-02-04 20:49:40,755 [7] INFO Umbraco.Core.UmbracoApplicationBase - [Thread 8] Application shutdown. Reason: HostingEnvironment
Nope it's back....
I ended up upgrading to 7.2.2 but as I was using MYsql I had to use a patch from the dev branch also, then the problem went away.
Never did find our what caused it..
Nope its back even with 7.2.4
is working on a reply...