Fix the nullpointer bug in monkey test.

Bug: 30632031

Change-Id: I295bcc804a5e847f99577353c888caa08dc8c7ef
2 files changed