{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2200","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2200/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2200/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2200/events","html_url":"https://github.com/aspnet/Mvc/issues/2200","id":62766368,"number":2200,"title":"Regression with Exception in ModelBinding","user":{"login":"borgdylan","id":7761010,"avatar_url":"https://avatars.githubusercontent.com/u/7761010?v=3","gravatar_id":"","url":"https://api.github.com/users/borgdylan","html_url":"https://github.com/borgdylan","followers_url":"https://api.github.com/users/borgdylan/followers","following_url":"https://api.github.com/users/borgdylan/following{/other_user}","gists_url":"https://api.github.com/users/borgdylan/gists{/gist_id}","starred_url":"https://api.github.com/users/borgdylan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borgdylan/subscriptions","organizations_url":"https://api.github.com/users/borgdylan/orgs","repos_url":"https://api.github.com/users/borgdylan/repos","events_url":"https://api.github.com/users/borgdylan/events{/privacy}","received_events_url":"https://api.github.com/users/borgdylan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-03-18T18:26:35Z","updated_at":"2015-03-20T16:32:53Z","closed_at":"2015-03-20T06:37:02Z","body":"When I run my Login code I am now getting the following exception:\r\n```\r\nSystem.ArgumentNullException: Argument cannot be null.\r\nParameter name: first\r\n  at System.Linq.Enumerable.Concat[Attribute] (IEnumerable`1 first, IEnumerable`1 second)<0xb480f318 + 0x00063> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.ModelBinding.ModelAttributes.GetAttributesForParameter (System.Reflection.ParameterInfo parameter)<0xb0252cc8 + 0x0004f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider.CreateParameterCacheEntry (ModelMetadataIdentity key, IEnumerable`1 attributes)<0xb0252bc8 + 0x0006f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.ModelBinding.Metadata.DefaultModelMetadataProvider.GetMetadataForParameter (System.Reflection.ParameterInfo parameterInfo, IEnumerable`1 attributes)<0xb02527a0 + 0x0008a> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.DefaultControllerActionArgumentBinder+<GetActionArgumentsAsync>d__4.MoveNext ()<0xb0660cd8 + 0x00270> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter`1[System.Collections.Generic.IDictionary`2[System.String,System.Object]].GetResult ()<0xb4a082d0 + 0x00022> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.Core.FilterActionInvoker+<InvokeAllActionFiltersAsync>d__40.MoveNext ()<0xb065c000 + 0x0040b> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.GetResult ()<0xb4a07f70 + 0x0001f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.Core.FilterActionInvoker+<InvokeExceptionFilterAsync>d__39.MoveNext ()<0xb067b120 + 0x00567> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.Core.FilterActionInvoker+<InvokeAsync>d__32.MoveNext ()<0xb0674300 + 0x004e3> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.GetResult ()<0xb4a07f70 + 0x0001f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.MvcRouteHandler+<InvokeActionAsync>d__3.MoveNext ()<0xb066fcb8 + 0x0027f> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.GetResult ()<0xb4a07f70 + 0x0001f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Mvc.MvcRouteHandler+<RouteAsync>d__2.MoveNext ()<0xb0811598 + 0x0049b> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.GetResult ()<0xb4a07f70 + 0x0001f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Routing.Template.TemplateRoute+<RouteAsync>d__25.MoveNext ()<0xb08205a8 + 0x005c3> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.GetResult ()<0xb4a07f70 + 0x0001f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Routing.RouteCollection+<RouteAsync>d__10.MoveNext ()<0xb081f280 + 0x0026f> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.GetResult ()<0xb4a07f70 + 0x0001f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Builder.RouterMiddleware+<Invoke>d__5.MoveNext ()<0xb081e6d8 + 0x00293> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.GetResult ()<0xb4a07f70 + 0x0001f> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Authentication.AuthenticationMiddleware`1+<Invoke>d__11[Microsoft.AspNet.Authentication.Cookies.CookieAuthenticationOptions].MoveNext ()<0xb081c840 + 0x00507> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at Microsoft.AspNet.Authentication.AuthenticationMiddleware`1+<Invoke>d__11[Microsoft.AspNet.Authentication.Cookies.CookieAuthenticationOptions].MoveNext ()<0xb081c840 + 0x0079f> in <filename unknown>:0 \r\n--- End of stack trace from previous location where exception was thrown ---\r\n  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw ()<0xb4bc3260 + 0x00031> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task)<0xb4a08060 + 0x000b7> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task)<0xb4a07fe0 + 0x00074> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task)<0xb4a07fa0 + 0x0002c> in <filename unknown>:0 \r\n  at System.Runtime.CompilerServices.TaskAwaiter.GetResult ()<0xb4a07f70 + 0x0001f> in <filename unknown>:0 \r\n  at System.Threading.Tasks.TaskAwaiterWrapper.GetResult ()<0xb080c3e0 + 0x00023> in <filename unknown>:0 \r\n  at System.Threading.Tasks.AwaitClosure2.DoLogic ()<0xb080c010 + 0x00037> in <filename unknown>:0\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/84062777","html_url":"https://github.com/aspnet/Mvc/issues/2200#issuecomment-84062777","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/2200","id":84062777,"user":{"login":"rynowak","id":1430011,"avatar_url":"https://avatars.githubusercontent.com/u/1430011?v=3","gravatar_id":"","url":"https://api.github.com/users/rynowak","html_url":"https://github.com/rynowak","followers_url":"https://api.github.com/users/rynowak/followers","following_url":"https://api.github.com/users/rynowak/following{/other_user}","gists_url":"https://api.github.com/users/rynowak/gists{/gist_id}","starred_url":"https://api.github.com/users/rynowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynowak/subscriptions","organizations_url":"https://api.github.com/users/rynowak/orgs","repos_url":"https://api.github.com/users/rynowak/repos","events_url":"https://api.github.com/users/rynowak/events{/privacy}","received_events_url":"https://api.github.com/users/rynowak/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T16:32:53Z","updated_at":"2015-03-20T16:32:53Z","body":"@borgdylan thanks!"}}