Server Error in '/' Application.

Value cannot be null.
Parameter name: item

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.ArgumentNullException: Value cannot be null.
Parameter name: item

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:


[ArgumentNullException: Value cannot be null.
Parameter name: item]
   Sitecore.Diagnostics.Assert.ArgumentNotNull(Object argument, String argumentName) +64
   Sitecore.Resources.Media.MediaProvider.GetMediaUrl(MediaItem item) +34
   Project.Common.Website.<>c__DisplayClass0_0.<ProcessRequest>b__11(Item imageItem) +258
   System.Linq.WhereSelectArrayIterator`2.MoveNext() +145
   System.Xml.Linq.XContainer.AddContentSkipNotify(Object content) +488
   System.Xml.Linq.XContainer.AddContentSkipNotify(Object content) +342
   System.Xml.Linq.XElement..ctor(XName name, Object[] content) +31
   Project.Common.Website.<>c__DisplayClass0_0.<ProcessRequest>b__1(Item item) +17365
   System.Linq.WhereSelectArrayIterator`2.MoveNext() +145
   System.Xml.Linq.XContainer.AddContentSkipNotify(Object content) +488
   System.Xml.Linq.XContainer.AddContentSkipNotify(Object content) +342
   System.Xml.Linq.XElement..ctor(XName name, Object[] content) +31
   Project.Common.Website.sitemap.ProcessRequest(HttpContext context) +3529
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +862
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +182
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94


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