am 376074ed: Fixed a native crash due to deref of a NULL pointer

* commit '376074ed1c3c368aeb336954a07632cd806288e2':
  Fixed a native crash due to deref of a NULL pointer