Copied to clipboard

Flag this post as spam?

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


  • Urvish 252 posts 772 karma points
    Apr 29, 2015 @ 11:34
    Urvish
    0

    Issue in developer section Umbraco 7.2.4

    Hi,

    I am using Umbraco 7.2.4 version.

    I faced a weird issue that when I go on Developer section it gives me below error.

    enter image description here

    I have checked Umbraco Trace Log. It generates below error.

    ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 13] An unhandled exception occurred
    System.InvalidOperationException: An error occurred when trying to create a controller of type 'Umbraco.Web.Mvc.RenderMvcController'. Make sure that the controller has a parameterless public constructor. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: Value cannot be null.
    Parameter name: umbracoContext
       at Umbraco.Web.Mvc.UmbracoController..ctor(UmbracoContext umbracoContext)
       at Umbraco.Web.Mvc.UmbracoController..ctor()
       at Umbraco.Web.Mvc.RenderMvcController..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
       at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType)
       --- End of inner exception stack trace ---
       at System.Web.Mvc.DefaultControllerFactory.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType)
       at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
       at Umbraco.Web.Mvc.UmbracoControllerFactory.OverridenDefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
       at Umbraco.Web.Mvc.UmbracoControllerFactory.CreateController(RequestContext requestContext, String controllerName)
       at Umbraco.Web.Mvc.RenderControllerFactory.CreateController(RequestContext requestContext, String controllerName)
       at Umbraco.Web.Mvc.MasterControllerFactory.CreateController(RequestContext requestContext, String controllerName)
       at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
       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.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    2015-04-29 14:59:31,186 [66] INFO  Umbraco.Web.Security.WebSecurity - [Thread 40] User Id: 0 logged in
    2015-04-29 14:59:31,263 [66] INFO  Umbraco.Core.PluginManager - [Thread 13] Starting resolution types of Umbraco.Web.Trees.TreeController
    2015-04-29 14:59:31,263 [66] INFO  Umbraco.Core.PluginManager - [Thread 13] Completed resolution of types of Umbraco.Web.Trees.TreeController, found 4 (took 0ms)
    

    Can any one help?

    Thanks in advance.

    Regards,

    Urvish Mandaliya

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Apr 29, 2015 @ 11:43
    Jan Skovgaard
    0

    Hi Urvish

    Has it been acting like that all along or did it just started to happen? Is it happening locally or on a server? Do you see any error messages in the browsers console log as well?

    /Jan

  • Urvish 252 posts 772 karma points
    Apr 29, 2015 @ 11:55
    Urvish
    0

    Hi Jan,

    Thanks for the reply.

    I am currently working in the local environment. This error occurred in this env.

    UmbracoTraceLog I have pasted above. And yes I get error log in browser console. Please see below screenshot of that.

    enter image description here

    Its just started to happen now. Actually when I go to developer section for creating a data type I found that issue.

    And I have downloaded Umbraco cms from nuget package.

    Regards,

    Urvish Mandaliya

  • Urvish 252 posts 772 karma points
    Apr 29, 2015 @ 12:09
    Urvish
    100

    I found the solution.

    I have removed filed of ExamineIndex from the below path inside Umbraco directory structure.

    ~\App_Data\TEMP\ExamineIndexes

    And yupeeee it works.

    Regards,

    Urvish Mandaliya

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies