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 GitHub by maxme
, 1 year ago
Attempt to invoke virtual method 'java.io.File android.content.Context.getFilesDir()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.File android.content.Context.getFilesDir()' on a null object reference	at org.wordpress.android.networking.SelfSignedSSLCertsManager.(SelfSignedSSLCertsManager.java:44)	at org.wordpress.android.networking.SelfSignedSSLCertsManager.getInstance(SelfSignedSSLCertsManager.java:88)	at org.xmlrpc.android.TrustUserSSLCertsSocketFactory.(TrustUserSSLCertsSocketFactory.java:50)	at org.xmlrpc.android.XMLRPCClient$ConnectionClient.(XMLRPCClient.java:125)	at org.xmlrpc.android.XMLRPCClient.instantiateClientForUri(XMLRPCClient.java:146)	at org.xmlrpc.android.XMLRPCClient.(XMLRPCClient.java:111)	at org.xmlrpc.android.XMLRPCFactoryDefault.make(XMLRPCFactoryDefault.java:7)	at org.xmlrpc.android.XMLRPCFactory.instantiate(XMLRPCFactory.java:12)	at org.xmlrpc.android.ApiHelper$RefreshBlogContentTask.doInBackground(ApiHelper.java:275)	at org.xmlrpc.android.ApiHelper$RefreshBlogContentTask.doInBackground(ApiHelper.java:232)	at android.os.AsyncTask$2.call(AsyncTask.java:305)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)	at java.lang.Thread.run(Thread.java:761)