<NullPointerException on getting string from strin...
# stackoverflow
u
NullPointerException on getting string from strings.xml I have question. Why I have NullPointerException ? This is my log from debuger: E/AndroidRuntime: FATAL EXCEPTION: main Process: bjd.adrian.e_shop, PID: 5301 java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources android.content.Context.getResources()' on a null object reference at android.content.ContextWrapper.getResources(ContextWrapper.java:86) at android.view.ContextThemeWrapper.getResourcesInternal(ContextThemeWrapper.java:127) at...