java.lang.RuntimeException: Unable to start activity ComponentInfo{com.compassasu.bucketdrops/com.compassasu.bucketdrops.ActivityMain}: java.lang.NullPointerException

Stack Overflow | Sherif Amr | 5 months ago
  1. 0

    Null Pointer Exception from PreferenceManager.getDefaultSharedPreferences

    Stack Overflow | 5 months ago | Sherif Amr
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.compassasu.bucketdrops/com.compassasu.bucketdrops.ActivityMain}: java.lang.NullPointerException
  2. 0

    AppCompat Punch List

    GitHub | 2 years ago | nbradbury
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Notify fragment when it comes into view?

    Stack Overflow | 3 years ago | lisovaccaro
    java.lang.NullPointerException

  1. ivotje50 2 times, last 5 months ago
  2. joni1408 1 times, last 6 months ago
  3. Mihail Melnic 2 times, last 7 months ago
  4. asvid 209 times, last 7 months ago
  5. martyn 2 times, last 8 months ago
3 more registered users
4 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at android.preference.PreferenceManager.getDefaultSharedPreferencesName()
  2. Android Platform
    PreferenceManager.getDefaultSharedPreferences
    1. android.preference.PreferenceManager.getDefaultSharedPreferencesName(PreferenceManager.java:374)
    2. android.preference.PreferenceManager.getDefaultSharedPreferences(PreferenceManager.java:369)
    2 frames
  3. com.compassasu.bucketdrops
    ActivityMain.onCreate
    1. com.compassasu.bucketdrops.BucketDropsApp.load(BucketDropsApp.java:33)
    2. com.compassasu.bucketdrops.Recycler.DropsAdapter.update(DropsAdapter.java:64)
    3. com.compassasu.bucketdrops.Recycler.DropsAdapter.<init>(DropsAdapter.java:51)
    4. com.compassasu.bucketdrops.ActivityMain.onCreate(ActivityMain.java:105)
    4 frames
  4. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:5231)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
    3 frames