Copied to clipboard

Flag this post as spam?

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


  • Miguel S. 30 posts 87 karma points
    Dec 20, 2016 @ 18:17
    Miguel S.
    0

    Urgent: Null reference BazaarContentHelper.GetStoreCurrency()

    Hi Guys,

    Our site just went down overnight for apparently no reason.

    We are still able to open Umbraco but the Merchello tab just gives a generic error.

    Please help. The logs dont give much help either...

    The home page gives this error:

    [NullReferenceException: Object reference not set to an instance of an object.] Merchello.Bazaar.BazaarContentHelper.GetStoreCurrency() +133 Merchello.Bazaar.Controllers.BazaarControllerBase.Initialize() +46 Merchello.Bazaar.Controllers.BazaarControllerBase..ctor() +51 Merchello.Bazaar.Controllers.BazaarStoreController..ctor() +39

    [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159 System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256 System.Activator.CreateInstance(Type type, Boolean nonPublic) +127 System.Activator.CreateInstance(Type type) +78 System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +101

    [InvalidOperationException: An error occurred when trying to create a controller of type 'Merchello.Bazaar.Controllers.BazaarStoreController'. Make sure that the controller has a parameterless public constructor.] System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +273 Umbraco.Web.Mvc.RenderControllerFactory.CreateController(RequestContext requestContext, String controllerName) +137 System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +290 System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +150 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +12313339 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288

Please Sign in or register to post replies

Write your reply to:

Draft