{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/203","repository_url":"https://api.github.com/repos/OrchardCMS/Orchard2","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/203/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/203/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/203/events","html_url":"https://github.com/OrchardCMS/Orchard2/issues/203","id":167238024,"number":203,"title":"One exception in AddOrchardLogging","user":{"login":"kerryjiang","id":456060,"avatar_url":"https://avatars.githubusercontent.com/u/456060?v=3","gravatar_id":"","url":"https://api.github.com/users/kerryjiang","html_url":"https://github.com/kerryjiang","followers_url":"https://api.github.com/users/kerryjiang/followers","following_url":"https://api.github.com/users/kerryjiang/following{/other_user}","gists_url":"https://api.github.com/users/kerryjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/kerryjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kerryjiang/subscriptions","organizations_url":"https://api.github.com/users/kerryjiang/orgs","repos_url":"https://api.github.com/users/kerryjiang/repos","events_url":"https://api.github.com/users/kerryjiang/events{/privacy}","received_events_url":"https://api.github.com/users/kerryjiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2016-07-24T15:13:41Z","updated_at":"2016-09-01T22:28:25Z","closed_at":null,"body":"Hello guys, I clone the latest source code to my local and restore anything using nuget.\r\n\r\nThe build seems ok, but when I ran the Orchard.Web project, I got the exception below.\r\n\r\nHow can I fix this issue? What did I missed?\r\n\r\nThanks for your help in advance!\r\n\r\nUnhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.\r\n   at Orchard.Hosting.Extensions.LoggerFactoryExtensions.AddOrchardLogging(ILoggerFactory loggingFactory, IServiceProvider serviceProvider)\r\n   at Orchard.Hosting.ApplicationBuilderExtensions.ConfigureWebHost(IApplicationBuilder builder, ILoggerFactory loggerFactory)\r\n   at Orchard.Web.Startup.Configure(IApplicationBuilder builder, ILoggerFactory loggerFactory)\r\n   --- End of inner exception stack trace ---\r\n   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)\r\n   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)\r\n   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\r\n   at Microsoft.AspNetCore.Hosting.Internal.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)\r\n   at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()\r\n   at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()\r\n   at Orchard.Console.Program.Main(String[] args)\r\n"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/comments/244232022","html_url":"https://github.com/OrchardCMS/Orchard2/issues/203#issuecomment-244232022","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard2/issues/203","id":244232022,"user":{"login":"sebastienros","id":1165805,"avatar_url":"https://avatars.githubusercontent.com/u/1165805?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastienros","html_url":"https://github.com/sebastienros","followers_url":"https://api.github.com/users/sebastienros/followers","following_url":"https://api.github.com/users/sebastienros/following{/other_user}","gists_url":"https://api.github.com/users/sebastienros/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastienros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastienros/subscriptions","organizations_url":"https://api.github.com/users/sebastienros/orgs","repos_url":"https://api.github.com/users/sebastienros/repos","events_url":"https://api.github.com/users/sebastienros/events{/privacy}","received_events_url":"https://api.github.com/users/sebastienros/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T22:28:25Z","updated_at":"2016-09-01T22:28:25Z","body":"He tried master and oauth2. They both work fine for me with a fresh clone, starting from VS without any command line call."}}
{"actor":{"display_login":"sebastienros"}}