NuGet/NuGetGallery — Issue #338: Exception getting gravatar for empty email addresses
Author: jeffhandley
Created: 2011-12-06 23:19:43+00:00
State: open

tem.ArgumentException: Value cannot be null or an empty string.
Parameter name: email
at Microsoft.Web.Helpers.Gravatar.GetUrl(String email, Int32 imageSize, String defaultImage, GravatarRating rating, String imageExtension)
at Microsoft.Web.Helpers.Gravatar.GetHtml(String email, Int32 imageSize, String defaultImage, GravatarRating rating, String imageExtension, Object attributes)
at NuGetGallery.ViewHelpers.<>c__DisplayClass13.b__12(TextWriter __razor_helper_writer) in c:\dev\ng\Website\Views\Helpers\ViewHelpers.cshtml:line 76
at ASP._Page_Views_Users_Profiles_cshtml.b__2() in f:\approot\Views\Users\Profiles.cshtml:line 10
at System.Web.WebPages.WebPageBase.<>c__DisplayClassb.b__9(TextWriter tw)
at ASP._Page_Views_Shared_TwoColumnLayout_cshtml.Execute() in f:\approot\Views\Shared\TwoColumnLayout.cshtml:line 7
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()
at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()
at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)
at System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)
at System.Web.WebPages.WebPageBase.PopContext()
at MvcMiniProfiler.MVCHelpers.ProfilingViewEngine.WrappedView.Render(ViewContext viewContext, TextWriter writer) in C:\Users\sam\Desktop\mvc-mini-profiler\MvcMiniProfiler\MVCHelpers\ProfilingViewEngine.cs:line 33
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)
at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1c.b__19()
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)
at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)