【发布时间】:2015-09-11 06:24:26
【问题描述】:
我已从 Sitecore 7.5 升级到 Sitecore 8,但在尝试访问内容编辑器时遇到错误。
“/”应用程序中的服务器错误。
值不能为空。
参数名称:fieldNameTranslator
说明:在执行当前 Web 请求期间发生未处理的异常。请查看堆栈跟踪以获取更多信息 有关错误的信息以及它在代码中的来源。 异常详细信息:System.ArgumentNullException:值不能为空。 参数名称:fieldNameTranslator
源错误:在执行当前 Web 请求期间产生了未处理的异常。有关原产地的信息 可以使用异常来识别异常的位置和位置 下面的堆栈跟踪。
[ArgumentNullException:值不能为空。 参数名称:fieldNameTranslator] Sitecore.ContentSearch.Linq.Solr.SolrIndexParameters..ctor(IIndexValueFormatter >valueFormatter, IFieldQueryTranslatorMap`1 fieldQueryTranslators, >FieldNameTranslator fieldNameTranslator, IExecutionContext[] executionContexts, >IFieldMapReaders fieldMap, Boolean convertQueryDatesToUtc) +310
Sitecore.ContentSearch.SolrProvider.LinqToSolrIndex`1..ctor(SolrSearchContext >context, IExecutionContext[] executionContexts) +192 Sitecore.ContentSearch.SolrProvider.SolrSearchContext.GetQueryable(IExecutionCo>ntext[] executionContexts) +83 Sitecore.ContentTesting.ContentSearch.TestingSearch.GetRunningTests() +637 Sitecore.ContentTesting.Data.SitecoreContentTestStore.GetActiveTests(DataUri >hostItemDataUri, String searchText) +252 Sitecore.ContentTesting.Pipelines.GetContentEditorWarnings.GetContentTestingWar>nings.Process(GetContentEditorWarningsArgs args) +247 (对象,对象[])+141 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365 Sitecore.Shell.Applications.ContentManager.Editor.GetWarnings(Boolean >hasSections) +271 Sitecore.Shell.Applications.ContentManager.Editor.Render(RenderContentEditorArg>s args, Control parent) +178 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.RenderEditor(Item >item, Item root, Control parent, Boolean showEditor) +231 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.UpdateEditor(项目>文件夹,项目根,布尔显示编辑器)+374 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.Update() +411 Sitecore.Shell.Applications.ContentManager.ContentEditorForm.OnPreRendered(Even>tArgs e) +212
【问题讨论】:
-
Information regarding the origin and location of the exception can be identified using the exception stack trace below.— 你能提供堆栈跟踪吗? -
@DmytroShevchenko,请查找更新后的问题。
-
您打算使用什么索引引擎?是 Lucene 还是 SOLR?
-
我们的索引引擎是 Solr
-
您是否禁用了所有 Lucene 配置?
标签: sitecore sitecore8 sitecore-mvc