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


Solutions on the web46343

Solution icon of stackoverflow
via Stack Overflow by user3693698
, 7 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

Solution icon of github
via GitHub by burntcookie90
, 1 year ago
Unable to start activity ComponentInfo{pkmx.lcamera/pkmx.lcamera.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'float java.lang.Float.floatValue()' on a null object reference

Solution icon of github
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

Solution icon of github
via GitHub by sergiocastell
, 8 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

Solution icon of github
Unable to start activity ComponentInfo{com.lh.andx/com.lh.andx.HomeActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference

Solution icon of github
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

Solution icon of github
Unable to start activity ComponentInfo{example.it/example.it.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.media.MediaPlayer.getCurrentPosition()' on a null object reference

Solution icon of github
Unable to start activity ComponentInfo{com.yuehu.cola.projectcola/com.yuehu.cola.projectcola.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference

Solution icon of github
Unable to start activity ComponentInfo{org.consenlabs.token/org.consenlabs.token.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'char[] java.lang.String.toCharArray()' on a null object reference

Solution icon of github
Unable to start activity ComponentInfo{com.raizlabs.android.dbflow.app/com.raizlabs.android.dbflow.DemoActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.raizlabs.android.dbflow.sql.SQLiteType.name()' on a null object reference

Stack trace

  • 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) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2710)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

375 times, 7 hours ago
27 times, 2 weeks ago
65 times, 1 month ago
6 times, 1 month ago
210 times, 1 month ago
104 more bugmates