This avoids a NullPointerException when trying to call the callback and gives a more readable error message. (cherry picked from commit5f277e1667) (cherry picked from commitc8e4cc8e99) Change-Id: Ia5f328c4b25aa6624dc3c8493eb0c7bbab99904c
This avoids a NullPointerException when trying to call the callback and gives a more readable error message. (cherry picked from commit5f277e1667) (cherry picked from commitc8e4cc8e99) Change-Id: Ia5f328c4b25aa6624dc3c8493eb0c7bbab99904c