java.lang.RuntimeException: Unable to start activity ComponentInfo{com.foksart.fixawyBeta/com.foksart.fixawyBeta.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.facebook.login.widget.LoginButton.setReadPermissions(java.lang.String[])' 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 Stack Overflow by Assem Mahrous
, 1 year ago
Unable to start activity ComponentInfo{com.foksart.fixawyBeta/com.foksart.fixawyBeta.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.facebook.login.widget.LoginButton.setReadPermissions(java.lang.String[])' on a null object reference
via Stack Overflow by Rohit
, 4 months ago
Unable to start activity ComponentInfo{subzero.jonga/subzero.jonga.LoginPage}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.facebook.login.widget.LoginButton.setReadPermissions(java.lang.String[])' on a null object reference
via GitHub by jjhesk
, 1 year ago
Unable to start activity ComponentInfo{****}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.loopj.android.http.AsyncHttpClient.addHeader(java.lang.String, java.lang.String)' on a null object reference
via jmsliu.com by Unknown author, 1 year ago
Unable to start activity ComponentInfo{walson.esgi.al.googlenewsreader/walson.esgi.al.googlenewsreader.ArticleViewActivity}: java.lang.NullPointerException: Attempt to invoke virtual methodvoid android.webkit.WebView.loadData(java.lang.String, java.lang.String, java.lang.String)’ on a null object reference
via GitHub by thedevleon
, 1 year ago
Unable to start activity ComponentInfo{.../...app.IntroActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.FrameLayout.addView(android.view.View)' on a null object reference
via Stack Overflow by Ravi Kumar Mandala
, 2 years ago
Unable to start activity ComponentInfo{com.example.publisher.test.adaptiveId/com.example.sdk.test.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TabHost.setup()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.foksart.fixawyBeta/com.foksart.fixawyBeta.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.facebook.login.widget.LoginButton.setReadPermissions(java.lang.String[])' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 10 months ago
9 times, 11 months ago
6 times, 4 months ago
184 times, 10 months ago
16 times, 10 months ago
111 more bugmates

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