0

I'm getting the below error in my Crawling.log.txt file. The problem is that we don't have MongoDB or xDB setup because we're not using it at all. I'm trying to figure out where this is coming from.

ManagedPoolThread #2 09:28:54 ERROR Could not compute value for ComputedIndexField: potential for indexable: sitecore://master/{2DEEEFEE-B008-4CB0-BB9E-EE1DD8034F3B}?lang=en&ver=1
Exception: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
   at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Sitecore.Reflection.ReflectionUtil.CreateObject(Type type, Object[] parameters)
   at Sitecore.Configuration.DefaultFactory.CreateFromTypeName(XmlNode configNode, String[] parameters, Boolean assert)
   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)
   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)
   at Sitecore.Configuration.DefaultFactory.GetInnerObject(XmlNode paramNode, String[] parameters, Boolean assert)
   at Sitecore.Configuration.DefaultFactory.AssignProperties(XmlNode configNode, String[] parameters, Object obj, Boolean assert, Boolean deferred, IFactoryHelper helper)
   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert, IFactoryHelper helper)
   at Sitecore.Configuration.DefaultFactory.CreateObject(XmlNode configNode, String[] parameters, Boolean assert)
   at Sitecore.Configuration.DefaultFactory.CreateObject(String configPath, String[] parameters, Boolean assert)
   at Sitecore.Analytics.Reporting.ReportingQueryBase..ctor(ReportDataProviderBase reportProvider, CachingPolicy cachingPolicy)
   at Sitecore.ContentTesting.Analytics.Reporting.TimeRangeItemBasedReportingQuery..ctor(ID queryItemId, ReportDataProviderBase reportProvider, CachingPolicy cachingPolicy)
   at Sitecore.ContentTesting.Analytics.Reporting.TestPotentialQuery..ctor(ReportDataProviderBase reportProvider)
   at Sitecore.ContentTesting.ContentSearch.ComputedIndexFields.TestPotentialMetricBase.ComputeFieldValue(IIndexable indexable)
   at Sitecore.ContentSearch.Azure.CloudSearchDocumentBuilder.AddComputedIndexFields()

Nested Exception

Exception: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Sitecore.Analytics.MongoDB
   at Sitecore.Analytics.Reporting.MongoDbReportDataSource..ctor(String connectionStringName)
  • did you try by disabling the content testing? – Mahendra Shekhawat Sep 10 at 14:03
  • I have not, but I will try that when everyone's offline. Disabling .config files restarts Sitecore, correct? – Kevin Sep 10 at 14:44
  • That seemed to fix that problem. Thanks. – Kevin Sep 11 at 0:51
  • Glad this resolves your problem, adding this in the answer so that it can help others as well. – Mahendra Shekhawat Sep 11 at 8:52
3

From your question, it is clear that you are not using analytics so this is CMS only mode. From my past experience, Content testing will not work properly with CMS mode only. The same thing you can see in the log, where Sitecore Content testing is trying to access the analytics.

So to resolve the above problem you need to disable the content testing. For disabling the content testing for Sitecore 8.1 or later, change the ContentTesting.AutomaticContentTesting.Enabled setting value to false in the App_Config\Include\ContentTesting\Sitecore.ContentTesting.config file:

<setting name="ContentTesting.AutomaticContentTesting.Enabled" value="false" />

or see KB article for disabling the content testing - https://kb.sitecore.net/articles/785358

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.