java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference

GitHub | jlmalone | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Null Pointer Exception on LayoutManager.getAnchorAtEnd

    GitHub | 1 year ago | jlmalone
    java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'android.view.ViewGroup$LayoutParams android.view.View.getLayoutParams()' on a null object reference

      at com.tonicartos.superslim.LayoutManager.getAnchorAtEnd()
    2. com.tonicartos.superslim
      LayoutManager.layoutChildren
      1. com.tonicartos.superslim.LayoutManager.getAnchorAtEnd(SourceFile:1038)
      2. com.tonicartos.superslim.LayoutManager.fillNextSectionToEnd(SourceFile:725)
      3. com.tonicartos.superslim.LayoutManager.layoutChildren(SourceFile:3369)
      3 frames