エージェントpathAnalyzer/mapRebuildStatusCheckerAgentの実行時の例外


解説

Sitecore XP 9.0Initial Release以降、デプロイされたPathアナライザー マップが異なる形式で保存されるようになりました。これにより、以下のようなエラーがログに記録される場合があります:

ERROR Exception when executing agent pathAnalyzer/mapRebuildStatusCheckerAgent
Exception: System.AggregateException
Message: One or more errors occurred.
Source: mscorlib
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at Sitecore.PathAnalyzer.Processing.Agents.MapRebuildStatusCheckerAgent.<GetDefinitionsWithUpdatedStatus>d__8.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at Sitecore.PathAnalyzer.Processing.Agents.MapRebuildStatusCheckerAgent.Execute()
   at Sitecore.Analytics.Core.BackgroundService.Run()

解決策

この問題を解決するには、貴社Sitecore XPバージョン向けのアップグレード ガイドをご参照いただき、その中の「Upgrade Path Analyzer (Redeploy the Path Analyzer Maps)」セクションに記載されている通りに、Pathアナライザー マップを再デプロイしてください:

  1. TreeDefinitions テーブルからすべてのデータを削除するには、SQL Server Management StudioのReporting データベースで、以下のコマンドを実行します:
    Delete from TreeDefinitions
  2. Sitecore XPで、/sitecore/admin/pathanalyzer.aspx にあるPath アナライザーの管理ページを開きます。
  3. Maps Manager セクションで、Deploy all maps that are not deployed をクリックします。