java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ummahtalk.social/com.ummahtalk.social.gcm.activity.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.ummahtalk.social.gcm.helper.MyPreferenceManager com.ummahtalk.social.gcm.app.MyApplication.getPrefManager()' 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 user3693698
, 10 months ago
Unable to start activity ComponentInfo{com.ummahtalk.social/com.ummahtalk.social.gcm.activity.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.ummahtalk.social.gcm.helper.MyPreferenceManager com.ummahtalk.social.gcm.app.MyApplication.getPrefManager()' on a null object reference
via GitHub by neverpanic
, 7 months ago
Unable to start activity ComponentInfo{za.co.neilson.alarm/za.co.neilson.alarm.alert.AlarmAlertActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String za.co.neilson.alarm.Alarm.getAlarmName()' on a null object reference
via GitHub by carlhoerberg
, 1 year ago
Unable to start activity ComponentInfo{com.cloudamqp/com.cloudamqp.androidexample.ActivityHome}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toLowerCase()' on a null object reference
via GitHub by imishx
, 11 months ago
Unable to start activity ComponentInfo{indi.free.app/indi.free.app.act.impl.WebInfo_}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.Window android.app.Activity.getWindow()' on a null object reference
via GitHub by sergiocastell
, 11 months ago
Unable to start activity ComponentInfo{rom.stalker/browser.afh.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.NetworkInfo.isConnected()' on a null object reference
via GitHub by vkislicins
, 7 months ago
Unable to start activity ComponentInfo{com.seenit.unilever/com.microsoft.aad.adal.AuthenticationActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.webkit.WebSettings android.webkit.WebView.getSettings()' on a null object reference
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.ummahtalk.social/com.ummahtalk.social.gcm.activity.LoginActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'com.ummahtalk.social.gcm.helper.MyPreferenceManager com.ummahtalk.social.gcm.app.MyApplication.getPrefManager()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2649)

Users with the same issue

12 times, 11 months ago
50 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
Samebug visitor profile picture
Unknown user
Once, 10 months ago
9 times, 11 months ago
110 more bugmates

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