{"action":"created","issue":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1581","repository_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1581/labels{/name}","comments_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1581/comments","events_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1581/events","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1581","id":191302647,"number":1581,"title":"AbpApiDateTimeBinder Object reference not set to an instance of an object","user":{"login":"baiyunchen","id":10071911,"avatar_url":"https://avatars.githubusercontent.com/u/10071911?v=3","gravatar_id":"","url":"https://api.github.com/users/baiyunchen","html_url":"https://github.com/baiyunchen","followers_url":"https://api.github.com/users/baiyunchen/followers","following_url":"https://api.github.com/users/baiyunchen/following{/other_user}","gists_url":"https://api.github.com/users/baiyunchen/gists{/gist_id}","starred_url":"https://api.github.com/users/baiyunchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baiyunchen/subscriptions","organizations_url":"https://api.github.com/users/baiyunchen/orgs","repos_url":"https://api.github.com/users/baiyunchen/repos","events_url":"https://api.github.com/users/baiyunchen/events{/privacy}","received_events_url":"https://api.github.com/users/baiyunchen/received_events","type":"User","site_admin":false},"labels":[{"id":104949927,"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/labels/problem","name":"problem","color":"eb9460","default":false}],"state":"open","locked":false,"assignee":{"login":"ismcagdas","id":4133525,"avatar_url":"https://avatars.githubusercontent.com/u/4133525?v=3","gravatar_id":"","url":"https://api.github.com/users/ismcagdas","html_url":"https://github.com/ismcagdas","followers_url":"https://api.github.com/users/ismcagdas/followers","following_url":"https://api.github.com/users/ismcagdas/following{/other_user}","gists_url":"https://api.github.com/users/ismcagdas/gists{/gist_id}","starred_url":"https://api.github.com/users/ismcagdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismcagdas/subscriptions","organizations_url":"https://api.github.com/users/ismcagdas/orgs","repos_url":"https://api.github.com/users/ismcagdas/repos","events_url":"https://api.github.com/users/ismcagdas/events{/privacy}","received_events_url":"https://api.github.com/users/ismcagdas/received_events","type":"User","site_admin":false},"assignees":[{"login":"ismcagdas","id":4133525,"avatar_url":"https://avatars.githubusercontent.com/u/4133525?v=3","gravatar_id":"","url":"https://api.github.com/users/ismcagdas","html_url":"https://github.com/ismcagdas","followers_url":"https://api.github.com/users/ismcagdas/followers","following_url":"https://api.github.com/users/ismcagdas/following{/other_user}","gists_url":"https://api.github.com/users/ismcagdas/gists{/gist_id}","starred_url":"https://api.github.com/users/ismcagdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismcagdas/subscriptions","organizations_url":"https://api.github.com/users/ismcagdas/orgs","repos_url":"https://api.github.com/users/ismcagdas/repos","events_url":"https://api.github.com/users/ismcagdas/events{/privacy}","received_events_url":"https://api.github.com/users/ismcagdas/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/milestones/66","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/milestones/v1.1.0","labels_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/milestones/66/labels","id":1993602,"number":66,"title":"v1.1.0","description":"","creator":{"login":"hikalkan","id":1210527,"avatar_url":"https://avatars.githubusercontent.com/u/1210527?v=3","gravatar_id":"","url":"https://api.github.com/users/hikalkan","html_url":"https://github.com/hikalkan","followers_url":"https://api.github.com/users/hikalkan/followers","following_url":"https://api.github.com/users/hikalkan/following{/other_user}","gists_url":"https://api.github.com/users/hikalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/hikalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikalkan/subscriptions","organizations_url":"https://api.github.com/users/hikalkan/orgs","repos_url":"https://api.github.com/users/hikalkan/repos","events_url":"https://api.github.com/users/hikalkan/events{/privacy}","received_events_url":"https://api.github.com/users/hikalkan/received_events","type":"User","site_admin":false},"open_issues":21,"closed_issues":23,"state":"open","created_at":"2016-09-09T14:26:52Z","updated_at":"2016-11-24T14:33:52Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-11-23T15:24:19Z","updated_at":"2016-11-24T14:34:31Z","closed_at":null,"body":"Please include your Abp version, exception message and stack trace in bug/problem reports.\r\n### ABP Version V1.0\r\n---\r\nWhen i use nullable  DateTime in WebAPI Controller get params，abp throw some exception.\r\nMy webapi controller definition:\r\n```\r\n  public async Task<PagedResultDto<ServiceOrderListDto>> GetServiceOrderList(OrderStatus? orderStatus = null, ServiceType? serviceType = null,\r\n           PaymentStatus? paymentStatus = null, DateTime? startTime = null, DateTime? endTime = null, int pageIndex = 1, int pageSize = 10)\r\n{\r\n//some logic\r\n}\r\n```\r\n\r\nProblem Log:\r\n```\r\n2016-11-23 23:12:55,050 [41   ] nHandling.AbpApiExceptionFilterAttribute - Object reference not set to an instance of an object.\r\nSystem.NullReferenceException: Object reference not set to an instance of an object.\r\n   at Abp.WebApi.Controllers.Dynamic.Binders.AbpApiDateTimeBinder.BindModel(HttpActionContext actionContext, ModelBindingContext bindingContext) in D:\\Halil\\GitHub\\aspnetboilerplate\\src\\Abp.Web.Api\\WebApi\\Controllers\\Dynamic\\Binders\\AbpApiDateTimeBinder.cs:line 16\r\n   at System.Web.Http.ModelBinding.ModelBinderParameterBinding.ExecuteBindingAsync(ModelMetadataProvider metadataProvider, HttpActionContext actionContext, CancellationToken cancellationToken)\r\n   at System.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Abp.WebApi.Security.AntiForgery.AbpAntiForgeryApiFilter.<ExecuteAuthorizationFilterAsync>d__10.MoveNext() in D:\\Halil\\GitHub\\aspnetboilerplate\\src\\Abp.Web.Api\\WebApi\\Security\\AntiForgery\\AbpAntiForgeryApiFilter.cs:line 51\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Abp.WebApi.Authorization.AbpApiAuthorizeFilter.<ExecuteAuthorizationFilterAsync>d__7.MoveNext() in D:\\Halil\\GitHub\\aspnetboilerplate\\src\\Abp.Web.Api\\WebApi\\Authorization\\AbpApiAuthorizeFilter.cs:line 61\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()\r\n```"},"comment":{"url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/comments/262789777","html_url":"https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1581#issuecomment-262789777","issue_url":"https://api.github.com/repos/aspnetboilerplate/aspnetboilerplate/issues/1581","id":262789777,"user":{"login":"hikalkan","id":1210527,"avatar_url":"https://avatars.githubusercontent.com/u/1210527?v=3","gravatar_id":"","url":"https://api.github.com/users/hikalkan","html_url":"https://github.com/hikalkan","followers_url":"https://api.github.com/users/hikalkan/followers","following_url":"https://api.github.com/users/hikalkan/following{/other_user}","gists_url":"https://api.github.com/users/hikalkan/gists{/gist_id}","starred_url":"https://api.github.com/users/hikalkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hikalkan/subscriptions","organizations_url":"https://api.github.com/users/hikalkan/orgs","repos_url":"https://api.github.com/users/hikalkan/repos","events_url":"https://api.github.com/users/hikalkan/events{/privacy}","received_events_url":"https://api.github.com/users/hikalkan/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T14:34:31Z","updated_at":"2016-11-24T14:34:31Z","body":"Will check this."}}
{"actor":{"display_login":"hikalkan"}}