使用SolrCloud的Sitecore会引发HTML标记错误

时间:2016-08-19 03:07:32

标签: sitecore sitecore8 solrcloud

我们最近使用Sitecore 8.0 Update 2设置了SolrCloud(Solr 4.10.3)。我们还设置了它,以便它允许使用此补丁启动重建 - https://github.com/SitecoreSupport/Sitecore.Support.449298/releases

设置在一个环境中正常工作,但在另一个环境中,它在第二个环境中引发了一个奇怪的错误。某些索引重建正常,但其他索引失败,并出现以下错误 -

Job started: Index_Update_IndexName=Sitecore_web_index|#Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Xml.XmlException: The 'br' start tag on line 1 position 133 does not match the end tag of 'body'. Line 1, position 177.
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ThrowTagMismatch(NodeData startTag)
   at System.Xml.XmlTextReaderImpl.ParseEndElement()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r)
   at System.Xml.Linq.XContainer.ReadContentFrom(XmlReader r, LoadOptions o)
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Parse(String text, LoadOptions options)
   at SolrNet.Impl.SolrBasicServer`1.SendAndParseHeader(ISolrCommand cmd)
   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.AddRange(IEnumerable`1 group, Int32 groupSize)
   at Sitecore.ContentSearch.SolrProvider.SolrBatchUpdateContext.Commit()
   at Sitecore.Support.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex.Rebuild(Boolean resetIndex, Boolean optimizeOnComplete) in D:\works\projects\gitHubRepo\Sitecore.Support.449298\src\Sitecore.Support.449298\ContentSearch\SolrProvider\SwitchOnRebuildSolrSearchIndex.cs:line 155
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
   at (Object , Object[] )
   at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
   at Sitecore.Jobs.Job.ThreadEntry(Object state)

初看起来,看起来错误可能与某些损坏的BR标签有关,而最后没有关闭斜杠。但我应该在哪里看不清楚。

另外,另一个问题是,在发生这种情况之后,内容编辑器,索引重建和其他接口已经开始失败并出现相同的错误。

感谢任何帮助。

由于

0 个答案:

没有答案