Copied to clipboard

Flag this post as spam?

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


  • Kamal Hamzat 17 posts 137 karma points
    Feb 23, 2022 @ 13:55
    Kamal Hamzat
    0

    A url with dots work in umbraco 7 but not in umbraco 8

    I have these links with dots.

    https://localhost.umbraco7/a.b.60 - this is working.

    But this is throwing error.

    https://localhost.umbraco8/a.b.60

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.] Umbraco.Web.Runtime.<>c.b_06(IFactory factory) in D:\a\1\s\src\Umbraco.Web\Runtime\WebInitialComposer.cs:121 Umbraco.Core.FactoryExtensions.GetInstance(IFactory factory) in D:\a\1\s\src\Umbraco.Core\FactoryExtensions.cs:23 Umbraco.Web.Mvc.UmbracoController..ctor() in D:\a\1\s\src\Umbraco.Web\Mvc\UmbracoController.cs:76 Umbraco.Web.Mvc.RenderMvcController..ctor() in D:\a\1\s\src\Umbraco.Web\Mvc\RenderMvcController.cs:23 Umbraco.Eight.Core.V8.Controllers.ReportController..ctor() +36 DynamicMethod(Object[] ) +30 LightInject.PerRequestLifeTime.GetInstance(Func`1 createInstance, Scope scope) in C:\projects\lightinject\src\LightInject\LightInject.cs:6207 Umbraco.Web.Mvc.ContainerControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) in D:\a\1\s\src\Umbraco.Web\Mvc\ContainerControllerFactory.cs:21

    [Exception: Failed to create an instance of controller type Umbraco.Eight.Core.V8.Controllers.ReportController (see inner exception).] Umbraco.Web.Mvc.ContainerControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType) in D:\a\1\s\src\Umbraco.Web\Mvc\ContainerControllerFactory.cs:25 Umbraco.Web.Mvc.UmbracoControllerFactory.CreateController(RequestContext requestContext, String controllerName) in D:\a\1\s\src\Umbraco.Web\Mvc\UmbracoControllerFactory.cs:38 Umbraco.Web.Mvc.RenderControllerFactory.CreateController(RequestContext requestContext, String controllerName) in D:\a\1\s\src\Umbraco.Web\Mvc\RenderControllerFactory.cs:36 System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +265 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +77 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1128 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +134

  • 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