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 bluemunch
, 1 year ago
Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
via Stack Overflow by santafebound
, 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 com.yitter.feed.FeedAdapter.getItemCount(FeedAdapter.java:478)	at android.support.v7.widget.RecyclerView.dispatchLayoutStep1(RecyclerView.java:3170)	at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3067)	at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3518)	at android.view.View.layout(View.java:16636)	at android.view.ViewGroup.layout(ViewGroup.java:5437)	at android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:598)	at android.view.View.layout(View.java:16636)	at android.view.ViewGroup.layout(ViewGroup.java:5437)