Call to a member function getText() on a non-object

Bug: 68394
Change-Id: I78a9cd940fed9134263f086af89c15b5777b57fc
Merge "Call to a member function getText() on a non-object"