java.lang.StackOverflowError: stack size 8MB

Stack Overflow | Alex Boyko | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.StackOverflowError

    stack size 8MB

    at android.support.v7.widget.ChildHelper.getOffset()
  2. Android v7
    RecyclerView.scrollBy
    1. android.support.v7.widget.ChildHelper.getOffset(ChildHelper.java:117)
    2. android.support.v7.widget.ChildHelper.getChildAt(ChildHelper.java:180)
    3. android.support.v7.widget.RecyclerView$LayoutManager.getChildAt(RecyclerView.java:7058)
    4. android.support.v7.widget.LinearLayoutManager.getChildClosestToStart(LinearLayoutManager.java:1513)
    5. android.support.v7.widget.LinearLayoutManager.updateLayoutState(LinearLayoutManager.java:1150)
    6. android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1179)
    7. android.support.v7.widget.LinearLayoutManager.scrollHorizontallyBy(LinearLayoutManager.java:1019)
    8. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1525)
    9. android.support.v7.widget.RecyclerView.scrollBy(RecyclerView.java:1436)
    9 frames
  3. com.industi.yachtproject
    OnScrollListenerManagerOnItemTouchListener$1.onScrolled
    1. com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
    1 frame
  4. Android v7
    RecyclerView.scrollBy
    1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
    2. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
    3. android.support.v7.widget.RecyclerView.scrollBy(RecyclerView.java:1436)
    3 frames
  5. com.industi.yachtproject
    OnScrollListenerManagerOnItemTouchListener$1.onScrolled
    1. com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
    1 frame
  6. Android v7
    RecyclerView.scrollBy
    1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
    2. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
    3. android.support.v7.widget.RecyclerView.scrollBy(RecyclerView.java:1436)
    3 frames
  7. com.industi.yachtproject
    OnScrollListenerManagerOnItemTouchListener$1.onScrolled
    1. com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
    1 frame
  8. Android v7
    RecyclerView.scrollBy
    1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
    2. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
    3. android.support.v7.widget.RecyclerView.scrollBy(RecyclerView.java:1436)
    3 frames
  9. com.industi.yachtproject
    OnScrollListenerManagerOnItemTouchListener$1.onScrolled
    1. com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
    1 frame
  10. Android v7
    RecyclerView.scrollBy
    1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
    2. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
    3. android.support.v7.widget.RecyclerView.scrollBy(RecyclerView.java:1436)
    3 frames
  11. com.industi.yachtproject
    OnScrollListenerManagerOnItemTouchListener$1.onScrolled
    1. com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
    1 frame
  12. Android v7
    RecyclerView.scrollBy
    1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
    2. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
    3. android.support.v7.widget.RecyclerView.scrollBy(RecyclerView.java:1436)
    3 frames
  13. com.industi.yachtproject
    OnScrollListenerManagerOnItemTouchListener$1.onScrolled
    1. com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
    1 frame
  14. Android v7
    RecyclerView.scrollBy
    1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
    2. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
    3. android.support.v7.widget.RecyclerView.scrollBy(RecyclerView.java:1436)
    3 frames
  15. com.industi.yachtproject
    OnScrollListenerManagerOnItemTouchListener$1.onScrolled
    1. com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
    1 frame
  16. Android v7
    RecyclerView.scrollBy
    1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
    2. android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
    3. android.support.v7.widget.RecyclerView.scrollBy(RecyclerView.java:1436)
    3 frames
  17. com.industi.yachtproject
    OnScrollListenerManagerOnItemTouchListener$1.onScrolled
    1. com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
    1 frame
  18. Android v7
    RecyclerView.dispatchOnScrolled
    1. android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
    1 frame