Monday, September 16, 2019

Solr Value cannot be null. Parameter name: fieldNameTranslator

Problem

Server Error in '/' Application.

Value cannot be null.
Parameter name: fieldNameTranslator

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: fieldNameTranslator

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: fieldNameTranslator]
   Sitecore.ContentSearch.Linq.Solr.SolrIndexParameters..ctor(
   Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1..ctor
   Sitecore.ContentSearch.SolrProvider.SolrSearchContext.GetQueryable(IExecutionContext[] executionContexts) +229
   Sitecore.ContentSearch.SolrProvider.SolrSearchContext.GetQueryable() +65
   Sitecore.ContentTesting.ContentSearch.TestingSearch.GetAllTests() +132
   Sitecore.ContentTesting.Data.SitecoreContentTestStore.GetAllTestsForItem(DataUri hostItemDataUri, String searchText) +80
   Sitecore.ContentTesting.Pipelines.GetContentEditorWarnings.GetContentTestingWarnings.AddSuspende
   Sitecore.ContentTesting.Pipelines.GetContentEditorWarnings.GetContentTestingWarnings.Process(GetContentEditorWarningsArgs args) +45
   (Object , Object[] ) +56

Bit of a hack!


Temporary Solution
Go to sitecore.contentsearch
EnableSearch=false



No comments :