java.lang.RuntimeException: Unable to start activity ComponentInfo{com.johncbell.atrixtrucking/com.johncbell.atrixtrucking.MainActivity2}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' on a null object reference

Stack Overflow | Johncbell | 4 months ago
  1. 0

    Android App: Caused by: java.lang.NullPointerException: Attempt to invoke interface method on a null object reference

    Stack Overflow | 4 months ago | Johncbell
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.johncbell.atrixtrucking/com.johncbell.atrixtrucking.MainActivity2}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' on a null object reference
  2. 0

    java.lang.IllegalArgumentException: Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters

    Stack Overflow | 1 year ago | Sinyuk
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sinyuk.contentproviderdemo/com.example.sinyuk.contentproviderdemo.UserDictActivity}: java.lang.IllegalArgumentException: Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters.
  3. 0

    sqlite: java.lang.IllegalArgumentException: Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters

    blogspot.com | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.sinyuk.contentproviderdemo/com.example.sinyuk.contentproviderdemo.UserDictActivity}: java.lang.IllegalArgumentException: Cannot bind argument at index 1 because the index is out of range. The statement has 0 parameters.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Preferences Support Library - SwitchPreference not working

    Stack Overflow | 1 year ago | user3420815
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.package/com.my.package.Main}: android.view.InflateException: Binary XML file line #4: Error inflating class (not found)SwitchPreference
  6. 0

    Start fragment from MainActivity

    Stack Overflow | 1 year ago | Bryan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.waddapp.bryan.waddapp/com.waddapp.bryan.waddapp.MainActivity}: java.lang.NullPointerException: Attempt to write to field 'android.support.v4.app.FragmentManagerImpl android.support.v4.app.Fragment.mFragmentManager' on a null object reference

  1. mhicauber 2 times, last 1 week ago
  2. dealloc 1 times, last 1 week ago
  3. Indri Yunita 16 times, last 14 hours ago
  4. bmacedo 1 times, last 3 weeks ago
  5. Alexandru Popa 91 times, last 2 weeks ago
76 more registered users
19 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.RuntimeException

    Unable to start activity ComponentInfo{com.johncbell.atrixtrucking/com.johncbell.atrixtrucking.MainActivity2}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.common.api.GoogleApiClient.connect()' on a null object reference

    at android.app.ActivityThread.performLaunchActivity()
  2. Android Platform
    ActivityThread.main
    1. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
    2. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
    3. android.app.ActivityThread.access$800(ActivityThread.java:151)
    4. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
    5. android.os.Handler.dispatchMessage(Handler.java:102)
    6. android.os.Looper.loop(Looper.java:135)
    7. android.app.ActivityThread.main(ActivityThread.java:5254)
    7 frames
  3. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:372)
    2 frames
  4. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    2 frames