{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/gobblin/issues/226","labels_url":"https://api.github.com/repos/linkedin/gobblin/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/gobblin/issues/226/comments","events_url":"https://api.github.com/repos/linkedin/gobblin/issues/226/events","html_url":"https://github.com/linkedin/gobblin/pull/226","id":95311954,"number":226,"title":"Fixed a potential NPE in WorkUnit.getLowWatermark()","user":{"login":"liyinan926","id":3709137,"avatar_url":"https://avatars.githubusercontent.com/u/3709137?v=3","gravatar_id":"","url":"https://api.github.com/users/liyinan926","html_url":"https://github.com/liyinan926","followers_url":"https://api.github.com/users/liyinan926/followers","following_url":"https://api.github.com/users/liyinan926/following{/other_user}","gists_url":"https://api.github.com/users/liyinan926/gists{/gist_id}","starred_url":"https://api.github.com/users/liyinan926/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liyinan926/subscriptions","organizations_url":"https://api.github.com/users/liyinan926/orgs","repos_url":"https://api.github.com/users/liyinan926/repos","events_url":"https://api.github.com/users/liyinan926/events{/privacy}","received_events_url":"https://api.github.com/users/liyinan926/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-15T23:32:02Z","updated_at":"2015-07-16T18:35:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/linkedin/gobblin/pulls/226","html_url":"https://github.com/linkedin/gobblin/pull/226","diff_url":"https://github.com/linkedin/gobblin/pull/226.diff","patch_url":"https://github.com/linkedin/gobblin/pull/226.patch"},"body":"`WorkUnit.getLowWatermark()` assumes that the key `watermark.interval.value` is set, which seems only happening in the Kafka adapter. If this key is not set, `getLowWatermark` will throw an NPE if it is called, which is called in `WorkUnitState.backoffActualHighWatermark`.\r\n\r\nSigned-off-by: Yinan Li <liyinan926@gmail.com>"},"comment":{"url":"https://api.github.com/repos/linkedin/gobblin/issues/comments/122043728","html_url":"https://github.com/linkedin/gobblin/pull/226#issuecomment-122043728","issue_url":"https://api.github.com/repos/linkedin/gobblin/issues/226","id":122043728,"user":{"login":"zliu41","id":6342538,"avatar_url":"https://avatars.githubusercontent.com/u/6342538?v=3","gravatar_id":"","url":"https://api.github.com/users/zliu41","html_url":"https://github.com/zliu41","followers_url":"https://api.github.com/users/zliu41/followers","following_url":"https://api.github.com/users/zliu41/following{/other_user}","gists_url":"https://api.github.com/users/zliu41/gists{/gist_id}","starred_url":"https://api.github.com/users/zliu41/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zliu41/subscriptions","organizations_url":"https://api.github.com/users/zliu41/orgs","repos_url":"https://api.github.com/users/zliu41/repos","events_url":"https://api.github.com/users/zliu41/events{/privacy}","received_events_url":"https://api.github.com/users/zliu41/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T18:35:19Z","updated_at":"2015-07-16T18:35:19Z","body":"LGTM"}}