GitHub user shanthoosh opened a pull request: https://github.com/apache/samza/pull/235
Fix NullPointerException in ZkUtils read/write api. Problem: Read/Write api methods in ZkUtils updates counter/times in `metrics` field. In a ZkUtils constructor this is not set properly. Java default for uninitialized field is null resulting in NPE. Fix: Initialize private fields of ZkUtils class with appropriate defaults. You can merge this pull request into a Git repository by running: $ git pull https://github.com/shanthoosh/samza fix_zkutils_api Alternatively you can review and apply these changes as the patch at: https://github.com/apache/samza/pull/235.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #235 ---- commit 72255116252e5691eff799297f09df7ec89f5946 Author: Shanthoosh Venkataraman <svenkatara...@linkedin.com> Date: 2017-06-28T18:44:44Z Fix NullPointerException in ZkUtils read/write api. Initialize private fields of ZkUtils class with appropriate defaults. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---