Check if mText is null before invoke toString()

Change-Id: I8b519fa42e928eb157248e6b896a8958f281f9cd
Signed-off-by: Roger Chen <cxr514033970@gmail.com>