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

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 Stack Overflow by Ibrahim Disouki
, 1 year ago
Unable to start activity ComponentInfo{com.example.hema.testfacebooksdk/com.example.hema.testfacebooksdk.MainActivity}: java.lang.NullPointerException
via Stack Overflow by user3517495
, 2 years ago
Unable to start activity ComponentInfo{****************/****************.MainActivity}: java.lang.NullPointerException
via GitHub by HashEngineering
, 2 months ago
Unable to start activity ComponentInfo{hashengineering.darkcoin.wallet_test/de.schildbach.wallet.ui.WalletActivity}: java.lang.NullPointerException
via GitHub by mmanishh
, 1 year ago
Unable to start activity ComponentInfo{com.rinc.ruprise.r/me.iwf.photopicker.PhotoPickerActivity}: java.lang.NullPointerException
via GitHub by scottwainstock
, 1 year ago
Unable to start activity ComponentInfo{com.pbm/com.pbm.SplashScreen}: java.lang.NullPointerException
via Stack Overflow by ddd
, 2 years ago
Unable to start activity ComponentInfo{com.example.localinuovo/com.example.localinuovo.Martedi}: java.lang.NullPointerException
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hema.testfacebooksdk/com.example.hema.testfacebooksdk.MainActivity}: java.lang.NullPointerException
at com.facebook.login.LoginManager.getLogger(LoginManager.java:391)
at com.facebook.login.LoginManager.logCompleteLogin(LoginManager.java:414)
at com.facebook.login.LoginManager.startLogin(LoginManager.java:384)
at com.facebook.login.LoginManager.logInWithReadPermissions(LoginManager.java:262)
at com.example.hema.testfacebooksdk.MainActivity.onCreate(MainActivity.java:59)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
at android.app.ActivityThread.access$900(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago

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