java.lang.StackOverflowError

GitHub | jinmiao | 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.
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    java.lang.StackOverflowError in ANdroid

    Stack Overflow | 4 years ago | user1400538
    java.lang.StackOverflowError

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.StackOverflowError

      No message provided

      at android.graphics.Paint.getTextRunAdvances()
    2. Android Platform
      ViewGroup.drawChild
      1. android.graphics.Paint.getTextRunAdvances(Paint.java:1711)
      2. android.text.TextLine.handleText(TextLine.java:749)
      3. android.text.TextLine.handleRun(TextLine.java:972)
      4. android.text.TextLine.measureRun(TextLine.java:416)
      5. android.text.TextLine.measure(TextLine.java:295)
      6. android.text.TextLine.metrics(TextLine.java:269)
      7. android.text.Layout.getLineExtent(Layout.java:1322)
      8. android.text.Layout.getLineWidth(Layout.java:1288)
      9. android.widget.TextView.getRightFadingEdgeStrength(TextView.java:9326)
      10. android.view.View.draw(View.java:11101)
      11. android.view.View.getDisplayList(View.java:10444)
      12. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      13. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      14. android.view.View.getDisplayList(View.java:10442)
      15. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      16. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      17. android.view.View.getDisplayList(View.java:10442)
      18. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      19. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      20. android.view.View.getDisplayList(View.java:10442)
      21. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      22. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      23. android.view.View.draw(View.java:11017)
      24. android.widget.FrameLayout.draw(FrameLayout.java:450)
      25. android.view.View.getDisplayList(View.java:10444)
      26. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      26 frames
    3. Android v7
      RecyclerView.drawChild
      1. android.support.v7.widget.RecyclerView.drawChild(RecyclerView.java:4134)
      1 frame
    4. Android Platform
      View.draw
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      2. android.view.View.draw(View.java:11017)
      2 frames
    5. Android v7
      RecyclerView.draw
      1. android.support.v7.widget.RecyclerView.draw(RecyclerView.java:3543)
      1 frame
    6. Android Platform
      ViewGroup.drawChild
      1. android.view.View.getDisplayList(View.java:10444)
      2. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      3. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      4. android.view.View.draw(View.java:11017)
      5. android.view.View.getDisplayList(View.java:10444)
      6. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      7. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      8. android.view.View.draw(View.java:11017)
      9. android.widget.FrameLayout.draw(FrameLayout.java:450)
      10. android.view.View.getDisplayList(View.java:10444)
      11. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      11 frames
    7. Android v7
      RecyclerView.drawChild
      1. android.support.v7.widget.RecyclerView.drawChild(RecyclerView.java:4134)
      1 frame
    8. Android Platform
      View.draw
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      2. android.view.View.draw(View.java:11017)
      2 frames
    9. Android v7
      RecyclerView.draw
      1. android.support.v7.widget.RecyclerView.draw(RecyclerView.java:3543)
      1 frame
    10. Android Platform
      View.draw
      1. android.view.View.getDisplayList(View.java:10444)
      2. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      3. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      4. android.view.View.getDisplayList(View.java:10442)
      5. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      7. android.view.View.draw(View.java:11017)
      7 frames
    11. Android Support v4
      ViewPager.draw
      1. android.support.v4.view.ViewPager.draw(ViewPager.java:2405)
      1 frame
    12. Android Platform
      ViewGroup.drawChild
      1. android.view.View.getDisplayList(View.java:10444)
      2. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      3. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      4. android.view.View.getDisplayList(View.java:10442)
      5. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      7. android.view.View.getDisplayList(View.java:10442)
      8. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      9. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      10. android.view.View.getDisplayList(View.java:10442)
      11. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      12. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      13. android.view.View.getDisplayList(View.java:10442)
      14. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      14 frames
    13. android.support.design
      CoordinatorLayout.drawChild
      1. android.support.design.widget.CoordinatorLayout.drawChild(CoordinatorLayout.java:1132)
      1 frame
    14. Android Platform
      ViewGroup.drawChild
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      2. android.view.View.getDisplayList(View.java:10442)
      3. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      4. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      5. android.view.View.getDisplayList(View.java:10442)
      6. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      6 frames
    15. Android Support v4
      DrawerLayout.drawChild
      1. android.support.v4.widget.DrawerLayout.drawChild(DrawerLayout.java:1377)
      1 frame
    16. Android Platform
      ViewGroup.drawChild
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      2. android.view.View.getDisplayList(View.java:10442)
      3. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      3 frames
    17. com.sothree.slidinguppanel
      SlidingUpPanelLayout.drawChild
      1. com.sothree.slidinguppanel.SlidingUpPanelLayout.drawChild(SlidingUpPanelLayout.java:1172)
      1 frame
    18. Android Platform
      View.draw
      1. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      2. android.view.View.draw(View.java:11017)
      2 frames
    19. com.sothree.slidinguppanel
      SlidingUpPanelLayout.draw
      1. com.sothree.slidinguppanel.SlidingUpPanelLayout.draw(SlidingUpPanelLayout.java:1225)
      1 frame
    20. Android Platform
      FrameLayout.draw
      1. android.view.View.getDisplayList(View.java:10444)
      2. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      3. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      4. android.view.View.getDisplayList(View.java:10442)
      5. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      6. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      7. android.view.View.getDisplayList(View.java:10442)
      8. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      9. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      10. android.view.View.getDisplayList(View.java:10442)
      11. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      12. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      13. android.view.View.getDisplayList(View.java:10442)
      14. android.view.ViewGroup.drawChild(ViewGroup.java:3167)
      15. android.view.ViewGroup.dispatchDraw(ViewGroup.java:2793)
      16. android.view.View.draw(View.java:11017)
      17. android.widget.FrameLayout.draw(FrameLayout.java:450)
      17 frames
    21. Android
      PhoneWindow$DecorView.draw
      1. com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:2212)
      1 frame
    22. Android Platform
      ActivityThread.main
      1. android.view.View.getDisplayList(View.java:10444)
      2. android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:903)
      3. android.view.ViewRootImpl.draw(ViewRootImpl.java:2123)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1810)
      5. android.view.ViewRootImpl.handleMessage(ViewRootImpl.java:2700)
      6. android.os.Handler.dispatchMessage(Handler.java:99)
      7. android.os.Looper.loop(Looper.java:156)
      8. android.app.ActivityThread.main(ActivityThread.java:5109)
      8 frames
    23. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Method.java)
      2. java.lang.reflect.Method.invoke(Method.java:511)
      2 frames
    24. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:991)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:758)
      2 frames
    25. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(NativeStart.java)
      1 frame