Developer forum

Forum » Ecommerce - Standard features » Error in index on clean Rapido (no products)

Error in index on clean Rapido (no products)

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have started working on a clean version of Rapido (latest one) running on DW 9.10.4. The solution was installed in DW Cloud and we have imported a few products.

When I try to run the Index, I get a KeyNotFoundException.

The exact error message is this:

2021-03-24 17:09:30.893: Error processing products. System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at Dynamicweb.Ecommerce.Indexing.ProductIndexBuilder.HandlePrices(String productId, String variantId, String languageId, IndexDocument document)
at Dynamicweb.Ecommerce.Indexing.ProductIndexBuilder.ProcessProducts(SqlConnection connection, IIndexWriter writer, Tracker tracker)

We don't have any variants, I have cleaned all tables of the old data, the Health report for e-commerce is green on all checks.

I cannot run the index unless I set SkipPrices = True. And even when I do that, the facets are not showing up.

Just to be sure, I have tried defining an empty index with an empty Build and no Schema on it. I get the same error.

It is the second time that I get this behavior when starting from an empty Rapido solution. It is clear that I am doing something wrong here but I just can't figure out what.

Thank you,

Adrian


Replies

 

You must be logged in to post in the forum