when trying to connect to XConnect and do any operation like "Deploy Market Definitions" from control panel. This particular error above happens when Sitecore is starting up. I have no idea where to look for or what could be causing this error, can anyone give me a tip?

7812 05:41:26 FATAL [Experience Analytics]: Failed to synchronize segments. Message: typeKey should not be null.
Parameter name: typeKey. Details:    at Sitecore.Xdb.Common.Web.Synchronous.SynchronousExtensions.SuspendContextLock[TResult](Func`1 taskFactory)
at Sitecore.ExperienceAnalytics.Core.Repositories.ReferenceData.ReferenceDataSegmentReader.GetByTypeAsync(DefinitionTypeKey typeKey)
at Sitecore.ExperienceAnalytics.Aggregation.Repositories.AggregationSegmentReader.GetAll(NameValueCollection readingPreferences)
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.<Process>d__4.MoveNext()

Thank you


Looking at the logs of the processing server I saw that the SQL user didn't have rights to run stored procedures and that was causing it to fail when getting some data from the DB, this is why I was getting null references.

  • I am also facing this issue. Do you find any solution for this – Ganesh Kumar Jul 2 '19 at 18:34

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.