java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.jdsjlzx.recyclerview.LuRecyclerViewAdapter.setScrollState(int)' on a null object reference

GitHub | douya40 | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 32#248194806

    GitHub | 5 months ago | douya40
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.jdsjlzx.recyclerview.LuRecyclerViewAdapter.setScrollState(int)' on a null object reference
  2. 0

    GitHub comment 32#248203715

    GitHub | 5 months ago | douya40
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.github.jdsjlzx.recyclerview.LuRecyclerViewAdapter.setScrollState(int)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'void com.github.jdsjlzx.recyclerview.LuRecyclerViewAdapter.setScrollState(int)' on a null object reference

      at com.github.jdsjlzx.recyclerview.LuRecyclerView.onScrollStateChanged()
    2. com.github.jdsjlzx
      LuRecyclerView.onScrollStateChanged
      1. com.github.jdsjlzx.recyclerview.LuRecyclerView.onScrollStateChanged(LuRecyclerView.java:276)
      1 frame
    3. Android v7
      RecyclerView.onTouchEvent
      1. android.support.v7.widget.RecyclerView.dispatchOnScrollStateChanged(RecyclerView.java:4334)
      2. android.support.v7.widget.RecyclerView.setScrollState(RecyclerView.java:1290)
      3. android.support.v7.widget.RecyclerView$ViewFlinger.fling(RecyclerView.java:4517)
      4. android.support.v7.widget.RecyclerView.fling(RecyclerView.java:1945)
      5. android.support.v7.widget.RecyclerView.onTouchEvent(RecyclerView.java:2725)
      5 frames
    4. Android Platform
      ViewGroup.dispatchTouchEvent
      1. android.view.View.dispatchTouchEvent(View.java:9427)
      2. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2660)
      3. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2304)
      4. android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:2666)
      5. android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2318)
      5 frames