{"action":"created","issue":{"url":"https://api.github.com/repos/Radarr/Radarr/issues/1221","repository_url":"https://api.github.com/repos/Radarr/Radarr","labels_url":"https://api.github.com/repos/Radarr/Radarr/issues/1221/labels{/name}","comments_url":"https://api.github.com/repos/Radarr/Radarr/issues/1221/comments","events_url":"https://api.github.com/repos/Radarr/Radarr/issues/1221/events","html_url":"https://github.com/Radarr/Radarr/issues/1221","id":215235999,"number":1221,"title":"/api/history nullreferenceexception error","user":{"login":"cblakely","id":1851509,"avatar_url":"https://avatars3.githubusercontent.com/u/1851509?v=3","gravatar_id":"","url":"https://api.github.com/users/cblakely","html_url":"https://github.com/cblakely","followers_url":"https://api.github.com/users/cblakely/followers","following_url":"https://api.github.com/users/cblakely/following{/other_user}","gists_url":"https://api.github.com/users/cblakely/gists{/gist_id}","starred_url":"https://api.github.com/users/cblakely/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cblakely/subscriptions","organizations_url":"https://api.github.com/users/cblakely/orgs","repos_url":"https://api.github.com/users/cblakely/repos","events_url":"https://api.github.com/users/cblakely/events{/privacy}","received_events_url":"https://api.github.com/users/cblakely/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-19T02:20:33Z","updated_at":"2017-03-19T10:21:36Z","closed_at":"2017-03-19T10:21:36Z","body":"Radarr Version 0.2.0.535\r\nMono Version 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4)\r\nDocker version 1.13.1, build 092cba3 on Ubuntu 16.04\r\nContainer version: linuxserver/radarr, latest, 021bc74c5607\r\n\r\nRadarr application in general works fine, except when making API call to history an error is recieved:\r\n\r\n```\r\ncurl http://localhost:7878/api/history?api-key=[key removed]\r\n{\r\n  \"message\": \"Object reference not set to an instance of an object\",\r\n  \"description\": \"System.NullReferenceException: Object reference not set to an instance of an object\\n  at NzbDrone.Api.REST.RestModule`1[TResource].<set_GetResourcePaged>b__35_0 (System.Object options) [0x00017] in C:\\\\projects\\\\radarr-usby1\\\\src\\\\NzbDrone.Api\\\\REST\\\\RestModule.cs:129 \\n  at (wrapper dynamic-method) System.Object:CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,System.Func`2<object, object>,object)\\n  at Nancy.Routing.Route+<>c__DisplayClass4.<Wrap>b__3 (System.Object parameters, CancellationToken context) <0x41817550 + 0x0013b> in <filename unknown>:0 \"\r\n}\r\n```\r\n\r\nI have tested with an empty history in the web GUI, but I would not expect an error condition for this, instead an empty response, or \"no content\" 204 status.\r\n\r\nTesting against a live system with actual activity provides the same null-ref response."},"comment":{"url":"https://api.github.com/repos/Radarr/Radarr/issues/comments/287606819","html_url":"https://github.com/Radarr/Radarr/issues/1221#issuecomment-287606819","issue_url":"https://api.github.com/repos/Radarr/Radarr/issues/1221","id":287606819,"user":{"login":"galli-leo","id":5339762,"avatar_url":"https://avatars0.githubusercontent.com/u/5339762?v=3","gravatar_id":"","url":"https://api.github.com/users/galli-leo","html_url":"https://github.com/galli-leo","followers_url":"https://api.github.com/users/galli-leo/followers","following_url":"https://api.github.com/users/galli-leo/following{/other_user}","gists_url":"https://api.github.com/users/galli-leo/gists{/gist_id}","starred_url":"https://api.github.com/users/galli-leo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/galli-leo/subscriptions","organizations_url":"https://api.github.com/users/galli-leo/orgs","repos_url":"https://api.github.com/users/galli-leo/repos","events_url":"https://api.github.com/users/galli-leo/events{/privacy}","received_events_url":"https://api.github.com/users/galli-leo/received_events","type":"User","site_admin":false},"created_at":"2017-03-19T10:21:36Z","updated_at":"2017-03-19T10:21:36Z","body":"You have to pass paging parameters. Try to look at the network requests our UI does to see how it's done."}}
{"actor":{"display_login":"galli-leo"}}