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 user1426900
, 1 year ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via Stack Overflow by tontonlayxx
, 2 years ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via Stack Overflow by Jordy Ruiz
, 2 years ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via Stack Overflow by Vinicius Coelho
, 2 years ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via Stack Overflow by Digital Hack
, 2 days ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via Stack Overflow by user4789408
, 1 year ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference	at android.widget.SimpleAdapter.getCount(SimpleAdapter.java:100)	at android.widget.ListView.setAdapter(ListView.java:491)	at android.app.ListActivity.setListAdapter(ListActivity.java:265)	at com.example.example.feed.ActivityFeedActivity$GetStudents.onPostExecute(ActivityFeedActivity.java:93)	at com.example.example.feed.ActivityFeedActivity$GetStudents.onPostExecute(ActivityFeedActivity.java:47)	at android.os.AsyncTask.finish(AsyncTask.java:651)