Gravatar for jfvalois@absolunet.com

Question by jfvalois, Mar 18, 2015 10:23 AM

Error on loading default search page

Hi,

I install Coveo for sitecore Free Edition on sitecore 7.5 (February version). Everything seems to work except when i call the default search page. Everything is up and running on the diagnostic page. Any clue on what can cause this problem?

Thanks

Could not get pipeline: ensureSessionContext (domain: )

Description : An unhandled exception occurred. 

Détails de l'exception: System.InvalidOperationException: Could not get pipeline: ensureSessionContext (domain: )

Erreur source: 


Ligne 14 :         <div id="MainPanel">
Ligne 15 :             <div id="coveo-center-column">
Ligne 16 :                 @Html.Sitecore().Placeholder("coveo-search-mvc")
Ligne 17 :             </div>
Ligne 18 :         </div>


Trace de la pile: 


[InvalidOperationException: Could not get pipeline: ensureSessionContext (domain: )]
   Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +460
   Sitecore.Analytics.DefaultTracker.EnsureSessionContext() +53
   Coveo.Analytics.xDB.xDBTrackerWrapper..ctor(ISitecoreFactory p_SitecoreFactory, ITracker p_Tracker) +178

[TargetInvocationException: Une exception a été levée par la cible d'un appel.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +159
   System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +256
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +127
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +14259449
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +200
   System.Activator.CreateInstance(Type type, Object[] args) +38
   Coveo.Framework.Utils.CoveoReflectionFactory.CreateInstanceGeneric(Type p_Type, Object[] p_Params) +161

[ReflectionException: CreateInstanceGeneric<TType> (Type p_Type, object[] p_Params): Coveo.Analytics.xDB.xDBTrackerWrapper failed.]
   Coveo.Framework.Utils.CoveoReflectionFactory.CreateInstanceGeneric(Type p_Type, Object[] p_Params) +398

[TargetInvocationException: Une exception a été levée par la cible d'un appel.]
   System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
   System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +76
   System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +193
   Coveo.Framework.Utils.CoveoReflectionFactory.CreateInstance(Type p_Type, Object[] p_Params) +407

[ReflectionException: createInstanceMethod.Invoke : Coveo.Analytics.xDB.xDBTrackerWrapper failed.]
   Coveo.Framework.Utils.CoveoReflectionFactory.CreateInstance(Type p_Type, Object[] p_Params) +627
   Coveo.Framework.Utils.CoveoReflectionFactory.CreateInstance(String p_TypeName, Object[] p_Params) +103
   Coveo.Framework.ObjectFactory.TypeHandlers.BaseCreateInstanceTypeHandler`1.CreateSpecificTypeInstance(String p_AssemblyQualifiedTypeName, Object[] p_Arguments) +200
   Coveo.Analytics.TrackerProviderTypeHandler.CreateInstance(ISitecoreFeaturesResolver p_SitecoreFeaturesResolver, Object[] p_Arguments) +170
   Coveo.Framework.ObjectFactory.TypeHandlers.BaseCreateInstanceTypeHandler`1.Coveo.Framework.ObjectFactory.ICreateInstanceTypeHandler.CreateObjectInstance(ISitecoreFeaturesResolver p_SitecoreFeaturesResolver, Object[] p_Arguments) +15
   Coveo.Framework.ObjectFactory.ObjectFactory.CreateInstance(Object[] p_Arguments) +136
   Coveo.Analytics.TrackerProvider.GetTracker(IObjectFactory p_ObjectFactory) +195
   Coveo.UI.Mvc.Models.SearchModel.InitializeHelpers(IRendering p_Rendering) +261
   Coveo.UI.Mvc.Models.BaseModel.Initialize(Rendering p_Rendering) +251
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args, Func`2 resultGetter) +197
   Sitecore.Mvc.Presentation.Rendering.GetModel() +337
   Sitecore.Mvc.Presentation.Rendering.get_Model() +27
   Sitecore.Mvc.Presentation.ViewRenderer.get_Model() +167
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +158

[InvalidOperationException: Error while rendering view: '/Views/Coveo/SearchView.cshtml'.
]
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +784
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +27
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +62
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Pipelines.Response.RenderPlaceholder.PerformRendering.Render(String placeholderName, TextWriter writer, RenderPlaceholderArgs args) +192
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Helpers.SitecoreHelper.Placeholder(String placeholderName) +323
   ASP._Page_Views_Coveo_SearchViewLayout_cshtml.Execute() in \Views\Coveo\SearchViewLayout.cshtml:16
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
   System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +126
   System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +125
   System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +147
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +223

[InvalidOperationException: Error while rendering view: '/Views/Coveo/SearchViewLayout.cshtml' (model: 'Sitecore.Mvc.Presentation.RenderingModel, Sitecore.Mvc').
]
   Sitecore.Mvc.Presentation.ViewRenderer.Render(TextWriter writer) +784
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Render(Renderer renderer, TextWriter writer, RenderRenderingArgs args) +27
   Sitecore.Mvc.Pipelines.Response.RenderRendering.ExecuteRenderer.Process(RenderRenderingArgs args) +62
   (Object , Object[] ) +83
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +365
   Sitecore.Mvc.Pipelines.PipelineService.RunPipeline(String pipelineName, TArgs args) +186
   Sitecore.Mvc.Presentation.RenderingView.Render(ViewContext viewContext, TextWriter writer) +294
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +109
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +890
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +97
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +879
1 Reply
Gravatar for jfvalois@absolunet.com

Answer by jfvalois, Mar 18, 2015 10:39 AM

The problem was due to our sitecore analytic. We disable it and the page load perfectly.

Ask a question