0

We have setup xDB(Sitecore 8.2 update 2), we have a separate CM server, separate CD server, separate Processing server and separate Reporting server. The configuration and setup of these environments were done per the documents available on the sitecore 8.2 https://doc.sitecore.net.

I can see the data getting populated in the mongo DB databases, but there is no data on the Experience Analytics dashboard(on CM) or Path Analyzer(on CM). So, tried to Rebuild the reporting database by following https://doc.sitecore.net/sitecore_experience_platform/82/setting_up_and_maintaining/xdb/server_considerations/walkthrough_rebuilding_the_reporting_database

There are 431928 records (per HistoryTasks collection in analytics MongoDB "EstimatedTotalRecords"), the reporting rebuild status was stuck at "history processing" for more than 12 hours after which I cancelled it. The Processing server logs are filled with Path analyer errors such as below over and over again.

Processing Server Logs:

This error occurs once in the initial start up of the log:

5196 11:12:32 WARN Could not find constructor in ReflectionUtil.CreateObject: Sitecore.Marketing.Taxonomy.TaxonomyManager. The constructor parameters may not match or it may be an abstract class. Parameter info: Count: 1. Parameter types: System.String 5196 11:12:32 ERROR Error loading hook: Exception: Sitecore.Exceptions.ConfigurationException Message: Could not create instance of type: Sitecore.Marketing.Taxonomy.TaxonomyManager. No matching constructor was found. Source: Sitecore.Kernel 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, Boolean assert) at Sitecore.Configuration.DefaultFactory.CreateObject[T](XmlNode configNode) at Sitecore.Marketing.Taxonomy.TaxonomyManagerProvider..ctor() at Sitecore.Marketing.Taxonomy.Hooks.Initializer.Initialize() at Sitecore.Events.Hooks.HookManager.LoadAll()

Multiple times this same error occurs:

9092 11:13:33 ERROR [Path Analyzer] Error during aggregation. Exception: System.TypeInitializationException Message: The type initializer for 'Sitecore.PathAnalyzer.Construction.ExperienceTreeBuilder' threw an exception. Source: Sitecore.PathAnalyzer at Sitecore.PathAnalyzer.Construction.ExperienceTreeBuilder.BuildSequence(IVisitAggregationContext context, IEnumerable1 filteredPages) at Sitecore.PathAnalyzer.Construction.TreeBuilder.Build(IVisitAggregationContext context) at Sitecore.PathAnalyzer.Processing.AggregationContextCollector.Collect(IVisitAggregationContext context) at Sitecore.PathAnalyzer.Processing.TreeAggregator.Aggregate(ItemBatch1 batch) at Sitecore.PathAnalyzer.Processing.Agents.TreeAggregatorAgent.Execute()

Nested Exception

Exception: System.NullReferenceException Message: Object reference not set to an instance of an object. Source: Sitecore.Marketing.Taxonomy
at Sitecore.Marketing.Taxonomy.Extensions.TaxonomyManagerProviderExtensions.GetChannelManager(ITaxonomyManagerProvider provider) at Sitecore.PathAnalyzer.ApplicationContainer.GetChannelTaxonomyManager() at Sitecore.PathAnalyzer.Construction.ExperienceTreeBuilder..cctor()

5468 12:53:30 ERROR [Experience Analytics]: SegmentProcessor failed to process interaction '2dce744c-45b5-4ff6-a73c-1ea2619dd666' segment '786fba3a-4573-445e-a745-04e3ca5e48c1' - System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object. at Sitecore.Marketing.Taxonomy.Extensions.TaxonomyManagerProviderExtensions.GetChannelManager(ITaxonomyManagerProvider provider) at Sitecore.ExperienceAnalytics.Aggregation.Dimensions.ByChannelType..ctor(Guid dimesionId) --- End of inner exception stack trace --- 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.ExperienceAnalytics.Aggregation.Repositories.DimensionConfigReader.CreateDimensionFromConfig(XmlElement childNode) at Sitecore.ExperienceAnalytics.Aggregation.Repositories.DimensionConfigReader.LoadDimensionsFromConfig(String pathToConfigNode) --- End of inner exception stack trace --- 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, Boolean assert) at Sitecore.Configuration.DefaultFactory.CreateObject[T](XmlNode configNode) at Sitecore.ExperienceAnalytics.Aggregation.AggregationContainer.Repositories.<>c.<.cctor>b__23_0() at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.get_Dimension() at Sitecore.ExperienceAnalytics.Aggregation.Data.Model.AggregationSegment.GetData(IVisitAggregationContext context) at Sitecore.ExperienceAnalytics.Aggregation.Pipeline.SegmentProcessor.ProcessSegments(AggregationPipelineArgs args, IEnumerable`1 segments)

CM Server Log:

Date="03 Jun 2018 10:33:34" HostName="xxx" ServerName="" THREAD="9160" PID="FATAL" Logger="Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsProcessor" MSG="[Experience Analytics]: Failed to synchronize segments. Message: Value cannot be null. Parameter name: item. Details: at Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName) at Sitecore.Workflows.Simple.WorkflowProvider.GetWorkflow(Item item)
at Sitecore.ExperienceAnalytics.Core.Extensions.SegmentDefinitionExtensions.GetLanguageIndependentWorkFlowState(SegmentDefinition segmentDefinition) at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.<>c.b__7_0(SegmentDefinition segmentDefinition) at System.Linq.Enumerable.WhereEnumerableIterator1.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source) at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.GetSegmentsToSynchronize() at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsManager.SynchronizeAllSegments() at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Sitecore.ExperienceAnalytics.Client.Deployment.SyncSegmentsProcessor.d__4.MoveNext()" ClientIp="" SCUser="" SCItemID="" SiteName="shell" RawUrl="http://removed"

  • Please check the following post: robearlam.com/blog/…. I had the same issues previously when setting up the processing server. It seems that the documentation provided by sitecore to enable / disable config files have some flaws. – Hishaam Namooya Jun 4 '18 at 20:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.