Copied to clipboard

Flag this post as spam?

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


  • DM 6 posts 26 karma points
    Aug 05, 2013 @ 14:51
    DM
    0

    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!!

  • Funka! 398 posts 661 karma points
    Aug 06, 2013 @ 00:52
    Funka!
    0

    What does line 8 of \Views\MasterTemplate.cshtml say?

  • DM 6 posts 26 karma points
    Aug 06, 2013 @ 06:59
    DM
    0

    It just accesses a node and field from that node as raw html. There seems to be no reason for this to fail.

  • DM 6 posts 26 karma points
    Aug 06, 2013 @ 08:10
    DM
    0

    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.

  • DM 6 posts 26 karma points
    Aug 06, 2013 @ 18:12
    DM
    0

    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.

  • DM 6 posts 26 karma points
    Aug 07, 2013 @ 16:46
    DM
    0

    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

  • Dan White 206 posts 510 karma points c-trib
    May 13, 2014 @ 23:33
    Dan White
    0

    @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 18 posts 40 karma points
    Nov 29, 2014 @ 11:17
    Murray
    0

    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

  • Murray 18 posts 40 karma points
    Nov 30, 2014 @ 19:42
    Murray
    1

    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.

  • Dan White 206 posts 510 karma points c-trib
    Dec 01, 2014 @ 18:03
    Dan White
    0

    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.

  • MeraLeads2 1 post 21 karma points
    Feb 05, 2015 @ 15:23
    MeraLeads2
    0

    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

  • Murray 18 posts 40 karma points
    Mar 12, 2015 @ 17:02
    Murray
    0

    Nope it's back....

  • Murray 18 posts 40 karma points
    Mar 13, 2015 @ 17:05
    Murray
    0

    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..

  • Murray 18 posts 40 karma points
    Mar 26, 2015 @ 12:51
    Murray
    0

    Nope its back even with 7.2.4

Please Sign in or register to post replies

Write your reply to:

Draft