{"action":"created","issue":{"url":"https://api.github.com/repos/searchbox-io/Jest/issues/142","labels_url":"https://api.github.com/repos/searchbox-io/Jest/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/searchbox-io/Jest/issues/142/comments","events_url":"https://api.github.com/repos/searchbox-io/Jest/issues/142/events","html_url":"https://github.com/searchbox-io/Jest/issues/142","id":40917631,"number":142,"title":"@JestId annotated variable not set if id field is not in the source data","user":{"login":"jsaimani","id":3541046,"avatar_url":"https://avatars.githubusercontent.com/u/3541046?v=3","gravatar_id":"","url":"https://api.github.com/users/jsaimani","html_url":"https://github.com/jsaimani","followers_url":"https://api.github.com/users/jsaimani/followers","following_url":"https://api.github.com/users/jsaimani/following{/other_user}","gists_url":"https://api.github.com/users/jsaimani/gists{/gist_id}","starred_url":"https://api.github.com/users/jsaimani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsaimani/subscriptions","organizations_url":"https://api.github.com/users/jsaimani/orgs","repos_url":"https://api.github.com/users/jsaimani/repos","events_url":"https://api.github.com/users/jsaimani/events{/privacy}","received_events_url":"https://api.github.com/users/jsaimani/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/searchbox-io/Jest/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-08-22T15:11:53Z","updated_at":"2015-01-22T13:54:41Z","closed_at":null,"body":"For a POJO with one of the fields which annotated with @JestId, the getSourceAsObject throws a NullPointerException. \r\n\r\nUnhandled exception occurred while converting source to the object . While saving the document the field annotated with @JestId is not set. \r\n\r\nLooks related to ES_METADATA_ID which is not being set on the source. \r\n"},"comment":{"url":"https://api.github.com/repos/searchbox-io/Jest/issues/comments/71022945","html_url":"https://github.com/searchbox-io/Jest/issues/142#issuecomment-71022945","issue_url":"https://api.github.com/repos/searchbox-io/Jest/issues/142","id":71022945,"user":{"login":"tomsen-san","id":6359950,"avatar_url":"https://avatars.githubusercontent.com/u/6359950?v=3","gravatar_id":"","url":"https://api.github.com/users/tomsen-san","html_url":"https://github.com/tomsen-san","followers_url":"https://api.github.com/users/tomsen-san/followers","following_url":"https://api.github.com/users/tomsen-san/following{/other_user}","gists_url":"https://api.github.com/users/tomsen-san/gists{/gist_id}","starred_url":"https://api.github.com/users/tomsen-san/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomsen-san/subscriptions","organizations_url":"https://api.github.com/users/tomsen-san/orgs","repos_url":"https://api.github.com/users/tomsen-san/repos","events_url":"https://api.github.com/users/tomsen-san/events{/privacy}","received_events_url":"https://api.github.com/users/tomsen-san/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T13:54:41Z","updated_at":"2015-01-22T13:54:41Z","body":":-)"}}