Server Error in '/' Application.

Index was outside the bounds of the array.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   System.Xml.XPathNodeList.Item(Int32 index) +106
   System.Xml.XmlNodeListEnumerator.MoveNext() +60
   System.Linq.<CastIterator>d__97`1.MoveNext() +278
   System.Linq.WhereSelectEnumerableIterator`2.MoveNext() +287
   System.Linq.Enumerable.Contains(IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer) +286
   Sitecore.XA.Foundation.SitecoreExtensions.Pipelines.PreprocessRequest.FilterUrlFilesAndExtensions.Process(PreprocessRequestArgs args) +163
   (Object , Object ) +15
   Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +373
   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain, Boolean failIfNotExists) +236
   Sitecore.Pipelines.DefaultCorePipelineManager.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +23
   Sitecore.Web.RequestEventsHandler.OnBeginRequest(HttpContextBase context) +166
   Sitecore.Nexus.Web.HttpModule.‪‫‍‌‎‮‌‭‮‌‪‫‫‮​‫‍‫‭‌‏‮‏‬‮(Object , EventArgs ) +142
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +1361


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4682.0