java.lang.StackOverflowError: stack size 8MB

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.StackOverflowError: stack size 8MB
at android.support.v7.widget.ChildHelper.getOffset(ChildHelper.java:117)
at android.support.v7.widget.ChildHelper.getChildAt(ChildHelper.java:180)
at android.support.v7.widget.RecyclerView$LayoutManager.getChildAt(RecyclerView.java:7058)
at android.support.v7.widget.LinearLayoutManager.getChildClosestToStart(LinearLayoutManager.java:1513)
at android.support.v7.widget.LinearLayoutManager.updateLayoutState(LinearLayoutManager.java:1150)
at android.support.v7.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1179)
at android.support.v7.widget.LinearLayoutManager.scrollHorizontallyBy(LinearLayoutManager.java:1019)
at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1525)
at com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
at com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
at com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
at com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
at com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
at com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
at com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)
at android.support.v7.widget.RecyclerView.dispatchOnScrolled(RecyclerView.java:3954)
at android.support.v7.widget.RecyclerView.scrollByInternal(RecyclerView.java:1557)
at com.industi.yachtproject.aligning_recyclerview.OnScrollListenerManagerOnItemTouchListener$1.onScrolled(OnScrollListenerManagerOnItemTouchListener.java:85)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.