java.lang.IllegalArgumentException: the name must not be empty: null

Stack Overflow | Iban Arriola | 3 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola . Or join the community to write better ones.
  1. 0
    samebug tip
    To use a OAuth2 token, you need to register your signed app through the dev console. For this you need to get a SHA1 Fingerprint, all the process is described in more details here: https://goo.gl/fhZH1J
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    the name must not be empty: null

    at android.accounts.Account.<init>()
  2. Android Platform
    Account.<init>
    1. android.accounts.Account.<init>(Account.java:48)
    1 frame
  3. com.google.android
    GoogleAuthUtil.getToken
    1. com.google.android.gms.auth.zze.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:269)
    2. com.google.api.client.googleapis.extensions.android.gms.auth.GoogleAccountCredential$RequestHandler.intercept(GoogleAccountCredential.java:294)
    2 frames
  5. Google HTTP Client Library for Java
    HttpRequest.execute
    1. com.google.api.client.http.HttpRequest.execute(HttpRequest.java:868)
    1 frame
  6. Google APIs Client Library for Java
    AbstractGoogleClientRequest.execute
    1. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:419)
    2. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
    3. com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
    3 frames
  7. com.socialcar.booking_fragment
    BookingOwnerDetailFragment.onClick
    1. com.socialcar.booking_fragment.BookingOwnerDetailFragment.createEvent(BookingOwnerDetailFragment.java:456)
    2. com.socialcar.booking_fragment.BookingOwnerDetailFragment.onClick(BookingOwnerDetailFragment.java:299)
    2 frames
  8. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:4615)
    2. android.view.View$PerformClick.run(View.java:18784)
    3. android.os.Handler.handleCallback(Handler.java:733)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:136)
    6. android.app.ActivityThread.main(ActivityThread.java:5061)
    6 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame