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