Merge "Check NPE beforehand instead of catching it at runtime" into cw-e-dev
am: e56f7b0d1d

* commit 'e56f7b0d1d92390c3409999ea841525514163f65':
  Check NPE beforehand instead of catching it at runtime