java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.tops.mygapp/com.example.tops.mygapp.MainActivity}: java.lang.NullPointerException

Stack Overflow | TopsAndy | 3 months ago
  1. 0

    Android Google plus

    Stack Overflow | 3 months ago | TopsAndy
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.tops.mygapp/com.example.tops.mygapp.MainActivity}: java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    2 unregistered visitors
    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.NullPointerException

      No message provided

      at com.google.api.client.repackaged.com.google.common.base.Preconditions.checkNotNull()
    2. Google HTTP Client Library for Java
      Preconditions.checkNotNull
      1. com.google.api.client.repackaged.com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213)
      2. com.google.api.client.util.Preconditions.checkNotNull(Preconditions.java:127)
      2 frames
    3. Google OAuth Client Library for Java
      AuthorizationCodeTokenRequest.setCode
      1. com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest.setCode(AuthorizationCodeTokenRequest.java:147)
      1 frame
    4. Google APIs Client Library for Java
      GoogleAuthorizationCodeTokenRequest.setCode
      1. com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.setCode(GoogleAuthorizationCodeTokenRequest.java:147)
      2. com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.setCode(GoogleAuthorizationCodeTokenRequest.java:79)
      2 frames
    5. Google OAuth Client Library for Java
      AuthorizationCodeTokenRequest.<init>
      1. com.google.api.client.auth.oauth2.AuthorizationCodeTokenRequest.<init>(AuthorizationCodeTokenRequest.java:103)
      1 frame
    6. Google APIs Client Library for Java
      GoogleAuthorizationCodeTokenRequest.<init>
      1. com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.<init>(GoogleAuthorizationCodeTokenRequest.java:111)
      2. com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeTokenRequest.<init>(GoogleAuthorizationCodeTokenRequest.java:92)
      2 frames
    7. com.example.tops
      MainActivity.onCreate
      1. com.example.tops.mygapp.MainActivity.setUp(MainActivity.java:272)
      2. com.example.tops.mygapp.MainActivity.onCreate(MainActivity.java:77)
      2 frames
    8. Android Platform
      ActivityThread.performLaunchActivity
      1. android.app.Activity.performCreate(Activity.java:5104)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2144)
      3 frames