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