{"issue":{"created_at":"2011-11-30T01:03:14Z","state":"open","updated_at":"2011-12-09T00:23:58Z","comments":7,"user":{"gravatar_id":"9f09476d4ff354dc7c8d7676e5974e1e","id":938898,"url":"https://api.github.com/users/rroman81","avatar_url":"https://secure.gravatar.com/avatar/9f09476d4ff354dc7c8d7676e5974e1e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"rroman81"},"body":"Just installed Glimpse and Glimpse.Mvc3  (0.86)  via NuGet into MVC3 project and started receiving this error right away:\r\n\r\nSequence contains more than one element\r\n\r\nDescription: 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. \r\n\r\nException Details: System.InvalidOperationException: Sequence contains more than one element\r\n\r\nSource Error: \r\n\r\nAn 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.\r\n\r\nStack Trace: \r\n\r\n\r\n[InvalidOperationException: Sequence contains more than one element]\r\n   System.Linq.Enumerable.SingleOrDefault(IEnumerable`1 source) +6366744\r\n   Glimpse.Mvc3.Interceptor.GetFiltersInterceptor.Intercept(IInvocation invocation) +3075\r\n   Castle.DynamicProxy.AbstractInvocation.Proceed() +804\r\n   Castle.Proxies.ControllerActionInvokerProxy.GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor) +330\r\n   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +185\r\n   System.Web.Mvc.Controller.ExecuteCore() +159\r\n   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +335\r\n   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62\r\n   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20\r\n   System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +54\r\n   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +469\r\n   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +375","assignee":null,"id":2395962,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":146,"title":"Getting \"Sequence contains more than one element\" error","closed_at":null,"html_url":"https://github.com/Glimpse/Glimpse/issues/146","url":"https://api.github.com/repos/Glimpse/Glimpse/issues/146","milestone":null},"action":"created","comment":{"created_at":"2011-12-09T00:23:58Z","updated_at":"2011-12-09T00:23:58Z","user":{"gravatar_id":"9f09476d4ff354dc7c8d7676e5974e1e","id":938898,"url":"https://api.github.com/users/rroman81","avatar_url":"https://secure.gravatar.com/avatar/9f09476d4ff354dc7c8d7676e5974e1e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"rroman81"},"body":"After looking further, I think the fix might be pretty simple.  I just need to replace SingleOrDefault with FirstOrDefault method and it should work just fine.  I'll get that implemented and tested on my fork.","id":3073140,"url":"https://api.github.com/repos/Glimpse/Glimpse/issues/comments/3073140"}}