Several developers have reported seeing the following stack trace since upgrading to Android Support 23.2.0:
java.lang.NullPointerException: Attempt to invok
I also encountered into this issue, even with version of RecyclerView 27.1.1. And I had the following code in my project:
recyclerView.setLayoutManager(mLayoutManager);
SimpleItemAnimator itemAnimator = new DefaultItemAnimator();
itemAnimator.setSupportsChangeAnimations(false);
recyclerView.setItemAnimator(itemAnimator);
LayoutInflater inflater = LayoutInflater.from(getContext());
And I've fixed it after removing addition of Animator to RecyclerView, i.e. this code started to look the following way:
recyclerView.setLayoutManager(mLayoutManager);
LayoutInflater inflater = LayoutInflater.from(getContext());