PreferenceManager.getDefaultSharedPreferences(getContext()) is null
49
What is a NullPointerException, and how do I fix it?
81518
Find out what variable is throwing a NullPointerException programmatically
38147
Why are my application settings not getting persisted?
83450
Diffinitive rules for using Android's getBaseContext, getApplicationContext or using an Activity's "this"
7493
When to call activity context OR application context?
98780
Test Method throwing null pointer exception on custom setting
154517
Cannot bring up "Reference Chooser" window from Properties in Eclipse Android SDK
48221
Solving "The ObjectContext instance has been disposed and can no longer be used for operations that require a connection" InvalidOperationException
84195
getApplication() vs. getApplicationContext()
96453
Caught Throwable or Exception is null
98866
Null Pointer Exception on getGraphics()
69771
NullPointerException when setting attribute?
96954
JPA/Hibernate Static Metamodel Attributes not Populated -- NullPointerException
140019
Where should the "preferences" item go in a desktop application?
79586
System.NullPointerException: Attempt to de-reference a null object
81565
getClass().getResource() always returning null
57346
Misbehavior when trying to store a string set using SharedPreferences