java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • NullPointerException in RecyclerAdapter
    via Stack Overflow by santafebound
    ,
    • 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)
    No Bugmate found.