Hi!
I have a clean Quicksilver local project installed. Just after migration step, when going to Commerce Manager I have the following error when rebuilding index:
2019-09-16 20:14:57,146 [17] ERROR Mediachase.Search.Extensions.BaseCatalogIndexBuilder: Failed to index catalog entry Womens Beauty Package(755) in Fashion. Exception: System.AggregateException: One or more errors occurred. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at EPiServer.Reference.Commerce.Shared.CatalogIndexer.RestIndexer.<GetDocument>d__5.MoveNext() in C:\Projects\2\quicksilverLOCAL2\Quicksilver-master\Sources\EPiServer.Reference.Commerce.Shared\CatalogIndexer\RestIndexer.cs:line 89
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at EPiServer.Reference.Commerce.Shared.CatalogIndexer.RestIndexer.OnCatalogEntryIndex(SearchDocument& document, CatalogEntryRow entry, String language) in C:\Projects\2\quicksilverLOCAL2\Quicksilver-master\Sources\EPiServer.Reference.Commerce.Shared\CatalogIndexer\RestIndexer.cs:line 64
at Mediachase.Search.Extensions.BaseCatalogIndexBuilder.IndexCatalogEntryDto(IndexBuilder indexer, CatalogEntryRow entryRow, String defaultCurrency, String[] languages)
at Mediachase.Search.Extensions.BaseCatalogIndexBuilder.<>c__DisplayClass16_3.<BuildIndex>b__0(CatalogEntryDto entryDto)
---> (Inner Exception #0) Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
at Newtonsoft.Json.JsonTextReader.ParseValue()
at Newtonsoft.Json.JsonTextReader.Read()
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value)
at EPiServer.Reference.Commerce.Shared.CatalogIndexer.RestIndexer.<GetDocument>d__5.MoveNext() in C:\Projects\2\quicksilverLOCAL2\Quicksilver-master\Sources\EPiServer.Reference.Commerce.Shared\CatalogIndexer\RestIndexer.cs:line 89<---
Steps taken to this point:
- Clone github Quicksilver repo
- Change databases names in web.config and in SetupDatabases.cmd.
- Build solution
- Run SetupDatabases.cmd.
- Change basePath in web.config (Site) to App_Data for the migration step to not bork up.
- Fire up the site, login with admin@example.com/store
- Wait for the migration to end. Migration successful
- Change basePath back to ../appdata (for search catalog path to be the same for manager and site).
- Open site go to mens to check if everything is ok. Looks good.
- Go to CommerceManager tab in CMS, go to Administration > Logs > SearchIndex
- Hit Rebuild index.
- Every product has this error. Products no longer visible on frontend /mens or /womens
Any suggestions?
Now what possibly could be wrong here?
I would want to put a breakpoint at that RestIndexer, but visual dosnt want to hit that breakpoint, with the symbols loaded.