{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8127","labels_url":"https://api.github.com/repos/apache/spark/issues/8127/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8127/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8127/events","html_url":"https://github.com/apache/spark/pull/8127","id":100538518,"number":8127,"title":"[SPARK-9877][Core] Fix StandaloneRestServer NPE when submitting application","user":{"login":"jerryshao","id":850797,"avatar_url":"https://avatars.githubusercontent.com/u/850797?v=3","gravatar_id":"","url":"https://api.github.com/users/jerryshao","html_url":"https://github.com/jerryshao","followers_url":"https://api.github.com/users/jerryshao/followers","following_url":"https://api.github.com/users/jerryshao/following{/other_user}","gists_url":"https://api.github.com/users/jerryshao/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryshao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryshao/subscriptions","organizations_url":"https://api.github.com/users/jerryshao/orgs","repos_url":"https://api.github.com/users/jerryshao/repos","events_url":"https://api.github.com/users/jerryshao/events{/privacy}","received_events_url":"https://api.github.com/users/jerryshao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-08-12T13:03:38Z","updated_at":"2015-08-13T03:12:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8127","html_url":"https://github.com/apache/spark/pull/8127","diff_url":"https://github.com/apache/spark/pull/8127.diff","patch_url":"https://github.com/apache/spark/pull/8127.patch"},"body":"Detailed exception log can be seen in [SPARK-9877](https://issues.apache.org/jira/browse/SPARK-9877), the problem is when creating `StandaloneRestServer`, `self` (`masterEndpoint`) is null.  So this fix is creating `StandaloneRestServer` when `self` is available."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/130515077","html_url":"https://github.com/apache/spark/pull/8127#issuecomment-130515077","issue_url":"https://api.github.com/repos/apache/spark/issues/8127","id":130515077,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T03:12:48Z","updated_at":"2015-08-13T03:12:48Z","body":" Merged build triggered."}}