Getting Error while loading Sitecore 9.1 Experience Profile

Getting Error "An error has occurred" while loading the Experience Profile in Sitecore 9.1 (update 2).

It's working fine in Dev m/c but not in Stage CM.

I followed the article

Sitecore 9 Experience Profile An Error has occurred

and apply same fixes given into the article but still issue is there ( Newtonsoft.Json version is same in Stage and Dev m/c)

 

 

13184 05:15:43 ERROR [Sitecore Services]: HTTP POST
URL stagecm.ofmedia.com/.../search desc&Match=*&FromDate=null&ToDate=null

Exception System.NullReferenceException: Object reference not set to an instance of an objectz.
   at Sitecore.Cintel.Endpoint.Plumbing.NegotiateLanguageFilter.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)
   at System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)
--- 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 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- 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 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- 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 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- 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 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- 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 System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Web.Http.Filters.ActionFilterAttribute.d__6.MoveNext()
--- 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 System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()
--- 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 System.Web.Http.Controllers.ActionFilterResult.d__5.MoveNext()
--- 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 System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()
--- 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 System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()
--- 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 System.Web.Http.Filters.AuthorizationFilterAttribute.d__3.MoveNext()
--- 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 System.Web.Http.Dispatcher.HttpControllerDispatcher.d__15.MoveNext()
13564 05:15:43 INFO  HttpModule is being initialized
ManagedPoolThread #6 05:15:51 INFO  Job started: Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher
ManagedPoolThread #6 05:15:51 INFO  Job ended: Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher (units processed: )
ManagedPoolThread #3 05:15:51 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #3 05:15:51 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #5 05:15:51 INFO  Job started: Sitecore.Tasks.DatabaseAgent
ManagedPoolThread #5 05:15:51 INFO  Scheduling.DatabaseAgent started. Database: master
ManagedPoolThread #5 05:15:51 INFO  Examining schedules (count:0)
ManagedPoolThread #5 05:15:51 INFO  Job ended: Sitecore.Tasks.DatabaseAgent (units processed: )
ManagedPoolThread #2 05:15:51 INFO  Job started: Sitecore.Tasks.DatabaseAgent
ManagedPoolThread #2 05:15:51 INFO  Scheduling.DatabaseAgent started. Database: master
ManagedPoolThread #2 05:15:51 INFO  Examining schedules (count:5)
ManagedPoolThread #2 05:15:51 INFO  Not due: Reset Failed Automated Messages
ManagedPoolThread #2 05:15:51 INFO  Not due: Missing
ManagedPoolThread #2 05:15:51 INFO  Not due: Older
ManagedPoolThread #2 05:15:51 INFO  Not due: Recent
ManagedPoolThread #2 05:15:51 INFO  Starting: Today (asynchronously)
ManagedPoolThread #4 05:15:51 INFO  Job started: ScheduleCommand '{BA13DA26-97FB-42AB-895E-39D04BEF19EB}'
ManagedPoolThread #4 05:15:51 INFO  Cache created: 'ExperienceAnalytics.DimensionItems' (max size: 2MB, running total: 6136MB)
ManagedPoolThread #4 05:15:51 INFO  Job ended: ScheduleCommand '{BA13DA26-97FB-42AB-895E-39D04BEF19EB}' (units processed: )
ManagedPoolThread #1 05:15:51 INFO  Job started: Index_Update_IndexName=sitecore_master_index
ManagedPoolThread #2 05:15:51 INFO  Ended: Today
ManagedPoolThread #2 05:15:51 INFO  Job ended: Sitecore.Tasks.DatabaseAgent (units processed: 5)
ManagedPoolThread #1 05:15:51 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )
ManagedPoolThread #1 05:15:51 INFO  Job started: Index_Update_IndexName=sitecore_master_index
ManagedPoolThread #1 05:15:51 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )
ManagedPoolThread #1 05:16:01 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #1 05:16:01 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
2040 05:16:07 INFO  AUDIT (extranet\Anonymous): {28EDD69A-14A2-4E0F-9228-74FC0C95B646}moved to this context page.
2040 05:16:07 INFO  [Sitecore Mvc]: IAssemblyResolver contains 253 assemblies
ManagedPoolThread #2 05:16:11 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #2 05:16:11 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
2040 05:16:19 WARN  AccessResultCache cache is cleared by Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[Sitecore.Caching.AccessResultCacheKey, Sitecore.Kernel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=null]] strategy. Cache running size was 9 MB.
5852 05:16:19 WARN  MediaRequestProtection: The Media.RequestProtection.SharedSecret setting currently uses the default value. It is strongly recommended that you change this setting to a random string.
5852 05:16:19 INFO  Cache created: 'RequestProtection.HashCache' (max size: 3MB, running total: 6139MB)
ManagedPoolThread #6 05:16:21 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #6 05:16:21 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #5 05:16:31 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #5 05:16:31 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #1 05:16:41 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #1 05:16:41 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #1 05:16:45 WARN  Memory usage exceeded the MemoryMonitor threshold.
ManagedPoolThread #1 05:16:45 WARN  Memory usage: 2,704,936,960
ManagedPoolThread #1 05:16:45 WARN  Number of suppressed logs due to the minimum time between log entries: 10
ManagedPoolThread #6 05:16:51 INFO  Job started: Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher
ManagedPoolThread #6 05:16:51 INFO  Job ended: Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher (units processed: )
ManagedPoolThread #3 05:16:51 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #3 05:16:51 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #5 05:16:51 INFO  Job started: Sitecore.Tasks.DatabaseAgent
ManagedPoolThread #5 05:16:51 INFO  Scheduling.DatabaseAgent started. Database: master
ManagedPoolThread #5 05:16:51 INFO  Examining schedules (count:0)
ManagedPoolThread #5 05:16:51 INFO  Job ended: Sitecore.Tasks.DatabaseAgent (units processed: )
ManagedPoolThread #0 05:16:51 INFO  Job started: Sitecore.Tasks.DatabaseAgent
ManagedPoolThread #0 05:16:51 INFO  Scheduling.DatabaseAgent started. Database: master
ManagedPoolThread #0 05:16:51 INFO  Examining schedules (count:5)
ManagedPoolThread #0 05:16:51 INFO  Not due: Reset Failed Automated Messages
ManagedPoolThread #0 05:16:51 INFO  Not due: Missing
ManagedPoolThread #0 05:16:51 INFO  Not due: Older
ManagedPoolThread #0 05:16:51 INFO  Not due: Recent
ManagedPoolThread #0 05:16:51 INFO  Starting: Today (asynchronously)
ManagedPoolThread #2 05:16:51 INFO  Job started: ScheduleCommand '{BA13DA26-97FB-42AB-895E-39D04BEF19EB}'
ManagedPoolThread #2 05:16:51 INFO  Cache created: 'ExperienceAnalytics.DimensionItems' (max size: 2MB, running total: 6141MB)
ManagedPoolThread #2 05:16:51 INFO  Job ended: ScheduleCommand '{BA13DA26-97FB-42AB-895E-39D04BEF19EB}' (units processed: )
ManagedPoolThread #2 05:16:51 INFO  Job started: Index_Update_IndexName=sitecore_master_index
ManagedPoolThread #0 05:16:51 INFO  Ended: Today
ManagedPoolThread #0 05:16:51 INFO  Job ended: Sitecore.Tasks.DatabaseAgent (units processed: 5)
ManagedPoolThread #2 05:16:51 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )
ManagedPoolThread #2 05:16:51 INFO  Job started: Index_Update_IndexName=sitecore_master_index
ManagedPoolThread #2 05:16:51 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )
ManagedPoolThread #0 05:17:01 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #0 05:17:01 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #1 05:17:11 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #1 05:17:11 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #3 05:17:21 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #3 05:17:21 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
3620 05:17:21 INFO  AUDIT (extranet\Anonymous): {C7AF097A-945D-4A82-BEA1-1EFD3901A7B7}moved to this context page.
3620 05:17:21 ERROR Invalid URI: The URI is empty.
Exception: System.UriFormatException
Message: Invalid URI: The URI is empty.
Source: System
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Net.WebRequest.Create(String requestUriString)
   at OFM.Foundation.Extensions.Helper.OFMGenerics.GetServiceResponse(String serviceEndPoint)
   at OFM.Feature.Search.Services.FeedsService.GetPressReleaseLists()
   at OFM.Feature.Search.Controllers.FeedsController.TopThreePressRelease()

ManagedPoolThread #3 05:17:31 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #3 05:17:31 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #0 05:17:41 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #0 05:17:41 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #3 05:17:45 WARN  Memory usage exceeded the MemoryMonitor threshold.
ManagedPoolThread #3 05:17:45 WARN  Memory usage: 2,704,953,344
ManagedPoolThread #3 05:17:45 WARN  Number of suppressed logs due to the minimum time between log entries: 9
ManagedPoolThread #1 05:17:51 INFO  Job started: Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher
ManagedPoolThread #1 05:17:51 INFO  Job ended: Sitecore.ContentSearch.SolrProvider.Agents.IndexingStateSwitcher (units processed: )
ManagedPoolThread #4 05:17:51 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #4 05:17:51 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
ManagedPoolThread #0 05:17:51 INFO  Job started: Sitecore.Tasks.DatabaseAgent
ManagedPoolThread #0 05:17:51 INFO  Scheduling.DatabaseAgent started. Database: master
ManagedPoolThread #0 05:17:51 INFO  Examining schedules (count:0)
ManagedPoolThread #0 05:17:51 INFO  Job ended: Sitecore.Tasks.DatabaseAgent (units processed: )
ManagedPoolThread #5 05:17:51 INFO  Job started: Sitecore.Tasks.DatabaseAgent
ManagedPoolThread #5 05:17:51 INFO  Scheduling.DatabaseAgent started. Database: master
ManagedPoolThread #5 05:17:51 INFO  Examining schedules (count:5)
ManagedPoolThread #5 05:17:51 INFO  Not due: Reset Failed Automated Messages
ManagedPoolThread #5 05:17:51 INFO  Not due: Missing
ManagedPoolThread #5 05:17:51 INFO  Not due: Older
ManagedPoolThread #5 05:17:51 INFO  Not due: Recent
ManagedPoolThread #5 05:17:51 INFO  Starting: Today (asynchronously)
ManagedPoolThread #6 05:17:51 INFO  Job started: ScheduleCommand '{BA13DA26-97FB-42AB-895E-39D04BEF19EB}'
ManagedPoolThread #6 05:17:51 INFO  Cache created: 'ExperienceAnalytics.DimensionItems' (max size: 2MB, running total: 6143MB)
ManagedPoolThread #6 05:17:51 INFO  Job ended: ScheduleCommand '{BA13DA26-97FB-42AB-895E-39D04BEF19EB}' (units processed: )
ManagedPoolThread #2 05:17:51 INFO  Job started: Index_Update_IndexName=sitecore_master_index
ManagedPoolThread #5 05:17:51 INFO  Ended: Today
ManagedPoolThread #5 05:17:51 INFO  Job ended: Sitecore.Tasks.DatabaseAgent (units processed: 5)
ManagedPoolThread #2 05:17:51 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )
ManagedPoolThread #1 05:17:51 INFO  Job started: Index_Update_IndexName=sitecore_master_index
ManagedPoolThread #1 05:17:51 INFO  Job ended: Index_Update_IndexName=sitecore_master_index (units processed: )
ManagedPoolThread #2 05:18:01 INFO  Job started: Sitecore.ListManagement.Operations.UpdateListOperationsAgent
ManagedPoolThread #2 05:18:01 INFO  Job ended: Sitecore.ListManagement.Operations.UpdateListOperationsAgent (units processed: )
  • The following line should give you a clue:

    13184 05:15:43 ERROR [Sitecore Services]: HTTP POST
    URL stagecm.ofmedia.com/.../search desc&Match=*&FromDate=null&ToDate=null

    As you can see, it is calling your stage url with "fromdate" and "todate" passed as null.