Copied to clipboard

Flag this post as spam?

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


  • David Greasley 15 posts 97 karma points
    Dec 29, 2014 @ 19:21
    David Greasley
    0

    Product search dialog throws error after upgrade from 1.5.1 to 1.6.0

    Hi,

    I am using Merchello on a client build and have just tried to upgrade from 1.5.1 to 1.6.0. I am using Umbraco 7.2.1.

    I have copied all the files from the upgrade zip.

    Now when I go to either the front end to pick a product or the back end to view the catalog I get an error in the Product Search Dialog.

    This dialog is making a call to umbraco/backoffice/Merchello/ProductApi/SearchProducts which is returning a 500 internal server error with the following:

    {"message":"An error has occurred.","exceptionMessage":"Value cannot be null.\r\nParameter name: indexProvider","exceptionType":"System.ArgumentNullException","stackTrace":" at Umbraco.Core.Mandate.That[TException](Boolean condition, Func1 defer)\r\n at Umbraco.Core.Mandate.ParameterNotNull[T](T value, String paramName)\r\n at Merchello.Web.Search.CachedQueryBase2..ctor(IPageCachedService1 service, BaseIndexProvider indexProvider, BaseSearchProvider searchProvider)\r\n at Merchello.Web.Search.CachedProductQuery..ctor(IPageCachedService1 service, BaseIndexProvider indexProvider, BaseSearchProvider searchProvider)\r\n at Merchello.Web.Search.CachedProductQuery..ctor(IProductService productService)\r\n at Merchello.Web.Search.CachedQueryProvider.<>cDisplayClass4.3()\r\n at System.Lazy1.CreateValue()\r\n at System.Lazy1.LazyInitValue()\r\n at System.Lazy1.get_Value()\r\n at Merchello.Web.Search.CachedQueryProvider.get_Product()\r\n at Merchello.Web.Editors.ProductApiController.SearchProducts(QueryDisplay query)\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass13.<GetExecutor>b__c(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.<>c__DisplayClass5.<ExecuteAsync>b__4()\r\n at System.Threading.Tasks.TaskHelpers.RunSynchronously[TResult](Func1 func, CancellationToken cancellationToken)"}

    Is there something that I have missed during the upgrade?

  • Rusty Swayne 1655 posts 4993 karma points c-trib
    Dec 29, 2014 @ 19:27
    Rusty Swayne
    100

    Hi David, Can you try rebuilding your product index? There were some changes in the ProductIndexer ...

  • David Greasley 15 posts 97 karma points
    Dec 29, 2014 @ 19:43
    David Greasley
    1

    Hi Rusty,

    Thanks for the quick response!

    It was indeed the indexes needed refreshing.

    Thanks for your help!

Please Sign in or register to post replies

Write your reply to:

Draft