EvaluateTestExposureBase error when visiting a page with personalization as a robot

  • When a robot visits a page with a component that has personalization rules applied, the page might fail to load with the following exception in the user interface:
    Exception: System.NullReferenceException
    Message: Object reference not set to an instance of an object.
    Source: Sitecore.ContentTesting
       at Sitecore.ContentTesting.Pipelines.EvaluateTestExposureBase`1.Process(TPipelineArgs args)
       at (Object , Object )
       at Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args)
       at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists)
       at Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain)
       at Sitecore.Layouts.PageContext.BuildControlTree(Object sender, EventArgs e)
       at System.Web.UI.Page.OnPreInit(EventArgs e)
       at System.Web.UI.Page.PerformPreInit()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
  • To resolve the issue, download and install the hotfix compatible with the affected product version:

    For Sitecore XP 9.3 Initial Release: SC Hotfix 408137-1.zip

    Be aware that the hotfix was built for a specific Sitecore XP version, and must not be installed on other Sitecore XP versions or in combination with other hotfixes. In case any other hotfixes have already been installed on a certain Sitecore XP instance, send a request for a compatibility check to Sitecore Support.

    Note that the ZIP file contents need to be extracted to locate installation instructions and related files inside. The hotfixes must be installed on a CM instance and then synced with other instances using standard development practices.

Applies to:

CMS 9.3 Initial Release

CMS 10.0 Initial Release

October 22, 2020
October 22, 2020

Reference number:

373969

Keywords: 

  • Content Testing