{"action":"created","issue":{"url":"https://api.github.com/repos/NightOwl888/BoboBrowse.Net/issues/14","labels_url":"https://api.github.com/repos/NightOwl888/BoboBrowse.Net/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/NightOwl888/BoboBrowse.Net/issues/14/comments","events_url":"https://api.github.com/repos/NightOwl888/BoboBrowse.Net/issues/14/events","html_url":"https://github.com/NightOwl888/BoboBrowse.Net/issues/14","id":64306837,"number":14,"title":"NullReferenceException in GetFacets","user":{"login":"dtosato","id":9847916,"avatar_url":"https://avatars.githubusercontent.com/u/9847916?v=3","gravatar_id":"","url":"https://api.github.com/users/dtosato","html_url":"https://github.com/dtosato","followers_url":"https://api.github.com/users/dtosato/followers","following_url":"https://api.github.com/users/dtosato/following{/other_user}","gists_url":"https://api.github.com/users/dtosato/gists{/gist_id}","starred_url":"https://api.github.com/users/dtosato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtosato/subscriptions","organizations_url":"https://api.github.com/users/dtosato/orgs","repos_url":"https://api.github.com/users/dtosato/repos","events_url":"https://api.github.com/users/dtosato/events{/privacy}","received_events_url":"https://api.github.com/users/dtosato/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-25T16:03:17Z","updated_at":"2015-03-26T17:43:13Z","closed_at":null,"body":"@NightOwl888 \r\nProbably I found a bug in `BoboBrowse.Net.Facets.CombinedFacetAccessible.GetFacets()`. It gives me back a `System.NullReferenceException` extracting the collection of `BrowseFacet` for this handler:\r\n```c#\r\nBoboBrowse.Net.Facets.Impl.RangeFacetHandler(name, new BoboBrowse.Net.Facets.Data.PredefinedTermListFactory<int>(), values);\r\n```\r\nwhere `values` is composed as follows:\r\n```c#\r\n\"[0000000000 TO 0000001000]\"\t\r\n\"[0000001000 TO 0000010000]\"\t\r\n\"[0000010000 TO 0000100000]\"\t\r\n\"[0000100000 TO 0001000000]\"\t\r\n\"[0001000000 TO *]\"\t\r\n```\r\nCould you please check?\r\nThanks."},"comment":{"url":"https://api.github.com/repos/NightOwl888/BoboBrowse.Net/issues/comments/86640287","html_url":"https://github.com/NightOwl888/BoboBrowse.Net/issues/14#issuecomment-86640287","issue_url":"https://api.github.com/repos/NightOwl888/BoboBrowse.Net/issues/14","id":86640287,"user":{"login":"NightOwl888","id":1538288,"avatar_url":"https://avatars.githubusercontent.com/u/1538288?v=3","gravatar_id":"","url":"https://api.github.com/users/NightOwl888","html_url":"https://github.com/NightOwl888","followers_url":"https://api.github.com/users/NightOwl888/followers","following_url":"https://api.github.com/users/NightOwl888/following{/other_user}","gists_url":"https://api.github.com/users/NightOwl888/gists{/gist_id}","starred_url":"https://api.github.com/users/NightOwl888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NightOwl888/subscriptions","organizations_url":"https://api.github.com/users/NightOwl888/orgs","repos_url":"https://api.github.com/users/NightOwl888/repos","events_url":"https://api.github.com/users/NightOwl888/events{/privacy}","received_events_url":"https://api.github.com/users/NightOwl888/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T17:43:13Z","updated_at":"2015-03-26T17:43:13Z","body":"Thanks for the report.\r\n\r\nI [added a unit test](https://github.com/NightOwl888/BoboBrowse.Net/blob/master/src/BoboBrowse.Net/BoboBrowse.Tests/FacetRangeTest.cs#L357) calling the same overload with the same values, but was unable to reproduce the null reference exception.\r\n\r\nCould you check this against your code and build another unit test that throws the exception?"}}