Copied to clipboard

Flag this post as spam?

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


  • Marco 6 posts 106 karma points
    Dec 28, 2016 @ 16:54
    Marco
    0

    Merchello: product load failed

    Hi everyone. I have a project with the merchello package installed. I have worked on it for a while and i have added some products and everything works. Today i added to my project the Merchello.Core package and now the backoffice show me an error. The Log file registers this :

    ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
    System.ArgumentNullException: Value cannot be null.
    Parameter name: indexProvider
       at Merchello.Core.Ensure.That[TException](Boolean condition, Func`1 defer)
       at Merchello.Core.Ensure.ParameterNotNull[T](T value, String paramName)
       at Merchello.Web.Search.CachedQueryBase`2..ctor(CacheHelper cacheHelper, IPageCachedService`1 service, BaseIndexProvider indexProvider, BaseSearchProvider searchProvider, Boolean enableDataModifiers)
       at Merchello.Web.Search.CachedProductQuery..ctor(IMerchelloContext merchelloContext, BaseIndexProvider indexProvider, BaseSearchProvider searchProvider, Boolean enableDataModifiers, DetachedValuesConversionType conversionType)
       at Merchello.Web.Search.CachedProductQuery..ctor(IMerchelloContext merchelloContext, Boolean enableDataModifiers, DetachedValuesConversionType conversionType)
       at Merchello.Web.Search.CachedQueryProvider.<>c__DisplayClass4.<InitializeProvider>b__3()
       at System.Lazy`1.CreateValue()
       at System.Lazy`1.LazyInitValue()
       at System.Lazy`1.get_Value()
       at Merchello.Web.Search.CachedQueryProvider.get_Product()
       at Merchello.Web.MerchelloHelperExtensions.ProductContentQuery(MerchelloHelper merchello)
       at Merchello.Web.PropertyConverters.ProductListViewValueConverter.ConvertDataToSource(PublishedPropertyType propertyType, Object source, Boolean preview)
       at Umbraco.Web.PublishedCache.XmlPublishedCache.XmlPublishedProperty.get_Value()
       at Umbraco.Web.PublishedPropertyExtension.GetValue[T](IPublishedProperty property, Boolean withDefaultValue, T defaultValue)
       at Umbraco.Web.PublishedContentExtensions.GetPropertyValue[T](IPublishedContent content, String alias, Boolean recurse, Boolean withDefaultValue, T defaultValue)
       at Umbraco.Web.PublishedContentExtensions.GetPropertyValue[T](IPublishedContent content, String alias)
       at Umbraco.Web.PublishedContentModels.HomePage.get_HomeProducts()
       at ASP._Page_Views_HomePage_cshtml.Execute() in c:\Users\Aniello\Documents\Visual Studio 2015\Projects\WineborgMVC\WineborgMVC\Views\HomePage.cshtml:line 11
       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.Mvc.RazorView.RenderView(ViewContext viewContext, TextWriter writer, Object instance)
       at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult)
       at System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
       at System.Web.Mvc.Controller.<BeginExecute>b__15(IAsyncResult asyncResult, Controller controller)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()
       at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
       at System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    

    This is the backoffice error: error

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Dec 28, 2016 @ 20:27
    Rusty Swayne
    0

    Did you upgrade to Umbraco 7.5.6?

    If so it may be this issue: http://issues.merchello.com/youtrack/issue/M-1254 and you would need to update Merchello to 2.3.2

  • Marco 6 posts 106 karma points
    Dec 29, 2016 @ 08:55
    Marco
    0

    Thanks Rusty. My problem now is I have installed Merchello 2.3.0 from the developer section of umbraco's backoffice ,while i have installed the Merchello.Core 2.3.2 from Nuget in Visual Studio. How can upgrade Merchello 2.3.0 to 2.3.2?

    Thanks in advance

  • Marco 6 posts 106 karma points
    Dec 29, 2016 @ 11:17
    Marco
    100

    I finally solved it. I had to upgrade all merchello dll from 2.3.0 to 2.3.2 and then rebuild all merchello index in the Umbraco's backoffice developer section. And now everything works.

    Thanks for your suggestion, Rusty!

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Dec 29, 2016 @ 16:33
    Rusty Swayne
    0

    Hey Marco - make sure you merge in the App_Plugins/Merchello files as well - there were some changes in the angular =)

Please Sign in or register to post replies

Write your reply to:

Draft