Copied to clipboard

Flag this post as spam?

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


  • Boris Kamenov 1 post 71 karma points
    1 week ago
    Boris Kamenov
    0

    Umbraco application crashes suddenly - v8.10 - FilterProviderCollection

    I am developing an Umbraco 8.10.1 application. Hosting it in azure.

    Couple of months ago the application on the production environment suddenly crashed. No code changes have been done around the time of the crash. After restarting the App service in Azure everything started working without any issues.

    Several days ago the exact same thing happened again. I have no clue how to reproduce the error or what is causing it. I checked if there is some pattern in the logs that is similar to both of the crashes, but nothing seems out of the ordinary.

    In the time that the website was down there are hundreds of errors with the same stack trace.

    Here is the stack trace:

    System.NullReferenceException: Object reference not set to an instance of an object.
    at System.Web.Mvc.FilterProviderCollection.RemoveDuplicates(List`1 filters)
    at System.Web.Mvc.FilterProviderCollection.GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor)
    at System.Web.Mvc.ControllerActionInvoker.GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor)
    at System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state)
    at System.Web.Mvc.Controller.<>c.<BeginExecuteCore>b__152_0(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)
    at System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state)
    at System.Web.Mvc.Controller.<>c.<BeginExecute>b__151_1(AsyncCallback asyncCallback, Object callbackState, Controller controller)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)
    at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state)
    at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state)
    at System.Web.Mvc.MvcHandler.<>c.<BeginProcessRequest>b__20_0(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState)
    at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)
    at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
    at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContext httpContext, AsyncCallback callback, Object state)
    at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    

    Has anyone faced an issue like this?

    Thank you

  • Joris Peters 4 posts 74 karma points
    1 week ago
    Joris Peters
    0

    Hi Boris Kamenov,

    That's a tough one. Have you tried connecting your application to Application Insights? Application Insights may be able to provide additional information about this error if it occurs again, for example the requested URL that leads to this NullReferenceException.

Please Sign in or register to post replies

Write your reply to:

Draft