I am setting up an DXA 1.7 POC to use smart targetSmart Target. I am using the DXA Module 1.7 Sdl.Web.Modules.SmartTarget
I am getting an error when the DXA Model builder is running.
Below is the stack trace I am getting.
It looks to be related to the GetTriggerTypes call to the Smart Target Query service.
Sdl.Web.Experience.Client.ExperienceOptimizationClient.GetTriggerTypes()
I am following the DXA Module installation guide and it doesn't have any steps to do with setting up Triggers.
Does anyone have any pointers to start this investigation ? Are there any good blog posts going through the setup of the DXA Smart Target Module ?
Microsoft.OData.Client.DataServiceQueryException: An error occurred while processing this request. ---> Microsoft.OData.Client.DataServiceClientException: {"error":{"code":"9000","message":"java.lang.NullPointerException: null"}}
at Microsoft.OData.Client.QueryResult.ExecuteQuery()
at Microsoft.OData.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
--- End of inner exception stack trace ---
at Microsoft.OData.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
at Microsoft.OData.Client.DataServiceQuery`1.GetEnumerator()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at Sdl.Web.Experience.Client.ExperienceOptimizationClient.GetTriggerTypes(Int32 timeout)
at Tridion.SmartTarget.Utils.AmbientDataHelper.FilterTriggers(ClaimStore claimStore)
at Tridion.SmartTarget.Utils.AmbientDataHelper.GetTriggers(ClaimStore claimStore)
at Sdl.Web.Modules.SmartTarget.Mapping.SmartTargetModelBuilder.ExecuteSmartTargetQuery(SmartTargetPageModel smartTargetPageModel, Localization localization) in C:\Code\DXA\dxa-modules\webapp-net\ExperienceOptimization\Mapping\SmartTargetModelBuilder.cs:line 211
at Sdl.Web.Modules.SmartTarget.Mapping.SmartTargetModelBuilder.BuildPageModel(PageModel& pageModel, IPage page, IEnumerable`1 includes, Localization localization) in C:\Code\DXA\dxa-modules\webapp-net\ExperienceOptimization\Mapping\SmartTargetModelBuilder.cs:line 92
at Sdl.Web.Tridion.Mapping.ModelBuilderPipeline.CreatePageModel(IPage page, IPage[] includes, Localization localization) in C:\Jenkins\workspace\DXA Dev CI Web App .NET\Sdl.Web.Tridion\Mapping\ModelBuilderPipeline.cs:line 78
at Sdl.Web.Tridion.Mapping.DefaultContentProvider.<>c__DisplayClass5_0.<GetPageModel>b__1() in C:\Jenkins\workspace\DXA Dev CI Web App .NET\Sdl.Web.Tridion\Mapping\DefaultContentProvider.cs:line 119
at Sdl.Web.Tridion.Caching.CacheProvider.GetOrAdd[T](String key, String region, Func`1 addFunction, IEnumerable`1 dependencies) in C:\Jenkins\workspace\DXA Dev CI Web App .NET\Sdl.Web.Tridion\Caching\CacheProvider.cs:line 65
at Sdl.Web.Tridion.Mapping.DefaultContentProvider.GetPageModel(String urlPath, Localization localization, Boolean addIncludes) in C:\Jenkins\workspace\DXA Dev CI Web App .NET\Sdl.Web.Tridion\Mapping\DefaultContentProvider.cs:line 131
at Sdl.Web.Mvc.Controllers.PageController.Page(String pageUrl) in C:\Jenkins\workspace\DXA Dev CI Web App .NET\Sdl.Web.Mvc\Controllers\PageController.cs:line 25