Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Bahamit
, 1 year ago
Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
via Stack Overflow by Alex Cass
, 2 years ago
Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
via Stack Overflow by Prashant Pujar
, 8 months ago
Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference 08-14 19:43:41.833: E/AndroidRuntime(31363):
via Stack Overflow by Jayce
, 9 months ago
Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
via Stack Overflow by Matthew Collins
, 1 year ago
Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference	at android.content.ContextWrapper.getApplicationContext(ContextWrapper.java:112)	at biz.tanners.geo_x.LocationClass.GETLOCATION(LocationClass.java:49)