{"action":"created","issue":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6074","labels_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6074/labels{/name}","comments_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6074/comments","events_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6074/events","html_url":"https://github.com/OrchardCMS/Orchard/issues/6074","id":118776752,"number":6074,"title":"`GetRootMediaFolder` returns null if the current user has the `ManageMediaContent` permission.","user":{"login":"csymons","id":72773,"avatar_url":"https://avatars.githubusercontent.com/u/72773?v=3","gravatar_id":"","url":"https://api.github.com/users/csymons","html_url":"https://github.com/csymons","followers_url":"https://api.github.com/users/csymons/followers","following_url":"https://api.github.com/users/csymons/following{/other_user}","gists_url":"https://api.github.com/users/csymons/gists{/gist_id}","starred_url":"https://api.github.com/users/csymons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csymons/subscriptions","organizations_url":"https://api.github.com/users/csymons/orgs","repos_url":"https://api.github.com/users/csymons/repos","events_url":"https://api.github.com/users/csymons/events{/privacy}","received_events_url":"https://api.github.com/users/csymons/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-25T07:09:21Z","updated_at":"2015-11-27T10:17:55Z","closed_at":"2015-11-27T10:17:54Z","body":"```\r\nSystem.NullReferenceException was unhandled by user code\r\n  HResult=-2147467261\r\n  Message=Object reference not set to an instance of an object.\r\n  Source=Orchard.MediaLibrary\r\n  StackTrace:\r\n       at Orchard.MediaLibrary.Controllers.AdminController.RecentMediaItems(Int32 skip, Int32 count, String order, String mediaType)\r\n       at lambda_method(Closure , ControllerBase , Object[] )\r\n       at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)\r\n       at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)\r\n       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)\r\n       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)\r\n       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)\r\n       at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.End()\r\n       at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)\r\n       at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()\r\n       at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()\r\n  InnerException: \r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/comments/160105610","html_url":"https://github.com/OrchardCMS/Orchard/issues/6074#issuecomment-160105610","issue_url":"https://api.github.com/repos/OrchardCMS/Orchard/issues/6074","id":160105610,"user":{"login":"csymons","id":72773,"avatar_url":"https://avatars.githubusercontent.com/u/72773?v=3","gravatar_id":"","url":"https://api.github.com/users/csymons","html_url":"https://github.com/csymons","followers_url":"https://api.github.com/users/csymons/followers","following_url":"https://api.github.com/users/csymons/following{/other_user}","gists_url":"https://api.github.com/users/csymons/gists{/gist_id}","starred_url":"https://api.github.com/users/csymons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csymons/subscriptions","organizations_url":"https://api.github.com/users/csymons/orgs","repos_url":"https://api.github.com/users/csymons/repos","events_url":"https://api.github.com/users/csymons/events{/privacy}","received_events_url":"https://api.github.com/users/csymons/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T10:17:54Z","updated_at":"2015-11-27T10:17:54Z","body":"Ah actually it was fixed in #5938 "}}