am d445b56c: Fix possible NPE caused while monkey test

* commit 'd445b56ce14152b30143302899790af255691148':
  Fix possible NPE caused while monkey test