Resources android.content.Context.getResources()' on a null object reference ...Unless you show us some code, I assume this error has happened because you...
NullPointerException: Attempt to invoke virtual method 'android.content.ContentResolver android.content.Context.getContentResolver()' on a null object reference...