java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.app/com.example.app.LoginActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.pokegoapi.auth.GoogleCredentialProvider$OnGoogleLoginOAuthCompleteListener.onInitialOAuthComplete(com.pokegoapi.auth.GoogleAuthJson)' on a null object reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by msayan
, 1 year ago
Unable to start activity ComponentInfo{com.example.app/com.example.app.LoginActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.pokegoapi.auth.GoogleCredentialProvider$OnGoogleLoginOAuthCompleteListener.onInitialOAuthComplete(com.pokegoapi.auth.GoogleAuthJson)' on a null object reference
via GitHub by barbeau
, 1 year ago
Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference
via GitHub by mochawich
, 1 year ago
Unable to start activity ComponentInfo{com.shoutit.app.android.local/com.shoutit.app.android.view.main.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void com.mixpanel.android.mpmetrics.MixpanelAPI$People.append(java.lang.String, java.lang.Object)' on a null object reference
via GitHub by cagryInside
, 1 year ago
Unable to start activity ComponentInfo{com.joulespersecond.seattlebusbot/org.onebusaway.android.ui.HomeActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'void org.onebusaway.android.map.MapModeController.onViewStateRestored(android.os.Bundle)' on a null object reference
via GitHub by szgyuri
, 10 months ago
Unable to start activity ComponentInfo{hu.nextent.ni.cetli/hu.nextent.ni.cetli.MainActivity}: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via Stack Overflow by Abhishek Panjabi
, 10 months ago
Unable to start activity ComponentInfo{diverse.technologies.transcriber/diverse.technologies.transcriber.translateActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.EditText.clearFocus()' on a null object reference
java.lang.NullPointerException: Attempt to invoke interface method 'void com.pokegoapi.auth.GoogleCredentialProvider$OnGoogleLoginOAuthCompleteListener.onInitialOAuthComplete(com.pokegoapi.auth.GoogleAuthJson)' on a null object reference
at com.example.app.LoginActivity.onCreate(LoginActivity.java:72)
at android.app.Activity.performCreate(Activity.java:6285)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.