{"action":"created","issue":{"url":"https://api.github.com/repos/hawkular/hawkular-accounts/issues/44","labels_url":"https://api.github.com/repos/hawkular/hawkular-accounts/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/hawkular/hawkular-accounts/issues/44/comments","events_url":"https://api.github.com/repos/hawkular/hawkular-accounts/issues/44/events","html_url":"https://github.com/hawkular/hawkular-accounts/pull/44","id":104198278,"number":44,"title":"HAWKULAR-505 - Added API for Web Sockets authentication","user":{"login":"jpkrohling","id":13387,"avatar_url":"https://avatars.githubusercontent.com/u/13387?v=3","gravatar_id":"","url":"https://api.github.com/users/jpkrohling","html_url":"https://github.com/jpkrohling","followers_url":"https://api.github.com/users/jpkrohling/followers","following_url":"https://api.github.com/users/jpkrohling/following{/other_user}","gists_url":"https://api.github.com/users/jpkrohling/gists{/gist_id}","starred_url":"https://api.github.com/users/jpkrohling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpkrohling/subscriptions","organizations_url":"https://api.github.com/users/jpkrohling/orgs","repos_url":"https://api.github.com/users/jpkrohling/repos","events_url":"https://api.github.com/users/jpkrohling/events{/privacy}","received_events_url":"https://api.github.com/users/jpkrohling/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-01T06:49:55Z","updated_at":"2015-09-02T08:04:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hawkular/hawkular-accounts/pulls/44","html_url":"https://github.com/hawkular/hawkular-accounts/pull/44","diff_url":"https://github.com/hawkular/hawkular-accounts/pull/44.diff","patch_url":"https://github.com/hawkular/hawkular-accounts/pull/44.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/hawkular/hawkular-accounts/issues/comments/136970781","html_url":"https://github.com/hawkular/hawkular-accounts/pull/44#issuecomment-136970781","issue_url":"https://api.github.com/repos/hawkular/hawkular-accounts/issues/44","id":136970781,"user":{"login":"jpkrohling","id":13387,"avatar_url":"https://avatars.githubusercontent.com/u/13387?v=3","gravatar_id":"","url":"https://api.github.com/users/jpkrohling","html_url":"https://github.com/jpkrohling","followers_url":"https://api.github.com/users/jpkrohling/followers","following_url":"https://api.github.com/users/jpkrohling/following{/other_user}","gists_url":"https://api.github.com/users/jpkrohling/gists{/gist_id}","starred_url":"https://api.github.com/users/jpkrohling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpkrohling/subscriptions","organizations_url":"https://api.github.com/users/jpkrohling/orgs","repos_url":"https://api.github.com/users/jpkrohling/repos","events_url":"https://api.github.com/users/jpkrohling/events{/privacy}","received_events_url":"https://api.github.com/users/jpkrohling/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T08:04:57Z","updated_at":"2015-09-02T08:04:57Z","body":"About the NPE, it should never happen if the consumer is properly set. It will only happen if the consumer forgets, for instance, to add the servlet context listener that creates the `@ApplicationScoped` bean that produces the context. So, a `NullPointerException` is what we want: an exception saying that we don't expect this reference to be null. CDI takes care of that nicely, but if nothing has populated the `ApplicationScoped`, then there's nothing CDI can do about it."}}