Had a strange Exception reported from Google Play for an app with Google+ Sign In
java.lang.IllegalArgumentException: Non existing account *******@gmail.com
Looking at the stack trace, I saw that it's being thrown in the following line of code
final String token = GoogleAuthUtil.getToken(context,
mPlusClient.getAccountName(),
scope);
The documentation for GoogleAuthUtil
states that IllegalArgumentException
is thrown only when the method call is made on the main thread, but I have wrapped the entire thing in an AsyncTask
. Searching on Google doesn't throw up any results for this particular exception.. Does anyone have any idea what might be causing this issue?