java.lang.RuntimeException: An error occured while executing doInBackground()

Stack Overflow | aez | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. android.content.ReceiverCallNotAllowedException

    IntentReceiver components are not allowed to bind to services

    at android.app.ReceiverRestrictedContext.bindService()
  2. Android Platform
    ReceiverRestrictedContext.bindService
    1. android.app.ReceiverRestrictedContext.bindService(ContextImpl.java:178)
    1 frame
  3. com.google.android
    GoogleAuthUtil.getToken
    1. com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
    2. com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
    2 frames
  4. Android Platform Extensions to the Google APIs Client Library for Java.
    GoogleAccountCredential$RequestHandler.intercept
    1. com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential.getToken(GoogleAccountCredential.java:192)
    2. com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential$RequestHandler.intercept(GoogleAccountCredential.java:217)
    2 frames
  5. Google HTTP Client Library for Java
    HttpRequest.execute
    1. com.google.api.client.http.HttpRequest.execute(HttpRequest.java:836)
    1 frame
  6. Google APIs Client Library for Java
    AbstractGoogleClientRequest.execute
    1. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:412)
    2. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:345)
    3. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:463)
    3 frames
  7. com.my_package
    ServerRequests$11.doInBackground
    1. com.my_package.ServerRequests$11.doInBackground(ServerRequests.java:378)
    2. com.my_package.ServerRequests$11.doInBackground(ServerRequests.java:1)
    2 frames
  8. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:287)
    1 frame
  9. Java RT
    FutureTask$Sync.innerRun
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
    1 frame