{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/14259","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/14259/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/14259/comments","events_url":"https://api.github.com/repos/apache/spark/issues/14259/events","html_url":"https://github.com/apache/spark/pull/14259","id":166295953,"number":14259,"title":"[SPARK-16622][SQL] Fix NullPointerException when the returned value of the called method in Invoke is null","user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-19T10:15:58Z","updated_at":"2016-07-22T09:17:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/14259","html_url":"https://github.com/apache/spark/pull/14259","diff_url":"https://github.com/apache/spark/pull/14259.diff","patch_url":"https://github.com/apache/spark/pull/14259.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nCurrently we don't check the value returned by called method in `Invoke`. When the returned value is null and is assigned to a variable of primitive type, `NullPointerException` will be thrown.\r\n\r\n## How was this patch tested?\r\n\r\nJenkins tests."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/234495748","html_url":"https://github.com/apache/spark/pull/14259#issuecomment-234495748","issue_url":"https://api.github.com/repos/apache/spark/issues/14259","id":234495748,"user":{"login":"viirya","id":68855,"avatar_url":"https://avatars.githubusercontent.com/u/68855?v=3","gravatar_id":"","url":"https://api.github.com/users/viirya","html_url":"https://github.com/viirya","followers_url":"https://api.github.com/users/viirya/followers","following_url":"https://api.github.com/users/viirya/following{/other_user}","gists_url":"https://api.github.com/users/viirya/gists{/gist_id}","starred_url":"https://api.github.com/users/viirya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viirya/subscriptions","organizations_url":"https://api.github.com/users/viirya/orgs","repos_url":"https://api.github.com/users/viirya/repos","events_url":"https://api.github.com/users/viirya/events{/privacy}","received_events_url":"https://api.github.com/users/viirya/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T09:17:27Z","updated_at":"2016-07-22T09:17:27Z","body":"@cloud-fan Unit test is added. Please take a look if this PR is good for you now. Thanks."}}
{"actor":{"display_login":"viirya"}}