java.lang.StackOverflowError

Google Groups | shridutt kothari | 1 year ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.

Root Cause Analysis

  1. java.lang.StackOverflowError

    No message provided

    at java.lang.Class.getConstructor0()
  2. Java RT
    Class.getDeclaredConstructor
    1. java.lang.Class.getConstructor0(Unknown Source)
    2. java.lang.Class.getDeclaredConstructor(Unknown Source)
    2 frames
  3. org.robolectric.bytecode
    RobolectricInternals.directlyOn
    1. org.robolectric.bytecode.RobolectricInternals.newInstance(RobolectricInternals.java:39)
    2. org.robolectric.bytecode.RobolectricInternals.directlyOn(RobolectricInternals.java:54)
    2 frames
  4. Roboelectric
    Robolectric.directlyOn
    1. org.robolectric.Robolectric.directlyOn(Robolectric.java:366)
    1 frame
  5. Roboelectric HTTP
    ShadowView.invalidate
    1. org.robolectric.shadows.ShadowView.directly(ShadowView.java:439)
    2. org.robolectric.shadows.ShadowView.invalidate(ShadowView.java:168)
    2 frames
  6. Android Platform
    Choreographer$FrameHandler.handleMessage
    1. android.view.View.invalidate(View.java)
    2. android.widget.TextView.setPadding(TextView.java:2122)
    3. android.view.View.recomputePadding(View.java:10914)
    4. android.view.View.resolvePadding(View.java:11584)
    5. android.view.View.resolveLayoutDirection(View.java:11524)
    6. android.view.View.onAttachedToWindow(View.java:11440)
    7. android.widget.TextView.onAttachedToWindow(TextView.java:4448)
    8. android.view.View.dispatchAttachedToWindow(View.java:11755)
    9. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
    10. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
    11. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
    12. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
    13. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
    14. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
    15. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
    16. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
    17. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1201)
    18. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
    19. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4214)
    20. android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
    21. android.view.Choreographer.doCallbacks(Choreographer.java:555)
    22. android.view.Choreographer.doFrame(Choreographer.java:525)
    23. android.view.Choreographer$FrameHandler.handleMessage(Choreographer.java:657)
    23 frames
  7. Roboelectric HTTP
    ShadowHandler$1.run
    1. org.robolectric.shadows.ShadowHandler.routeMessage(ShadowHandler.java:125)
    2. org.robolectric.shadows.ShadowHandler.access$100(ShadowHandler.java:25)
    3. org.robolectric.shadows.ShadowHandler$1.run(ShadowHandler.java:110)
    3 frames
  8. Roboelectric
    Scheduler.postDelayed
    1. org.robolectric.util.Scheduler.postDelayed(Scheduler.java:37)
    1 frame
  9. Roboelectric HTTP
    ShadowHandler.sendMessageAtTime
    1. org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:198)
    2. org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:56)
    3. org.robolectric.shadows.ShadowHandler.sendMessageDelayed(ShadowHandler.java:105)
    4. org.robolectric.shadows.ShadowHandler.sendMessageAtTime(ShadowHandler.java:160)
    4 frames
  10. Android Platform
    Window.setDefaultWindowFormat
    1. android.os.Handler.sendMessageAtTime(Handler.java)
    2. android.view.Choreographer.scheduleFrameLocked(Choreographer.java:479)
    3. android.view.Choreographer.postCallbackDelayedInternal(Choreographer.java:309)
    4. android.view.Choreographer.postCallbackDelayed(Choreographer.java:292)
    5. android.view.Choreographer.postCallback(Choreographer.java:266)
    6. android.view.ViewRootImpl.scheduleTraversals(ViewRootImpl.java:974)
    7. android.view.ViewRootImpl.setLayoutParams(ViewRootImpl.java:792)
    8. android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:343)
    9. android.app.Activity.onWindowAttributesChanged(Activity.java:2267)
    10. android.view.Window.setDefaultWindowFormat(Window.java:1226)
    10 frames
  11. Android
    PhoneWindow$DecorView.fitSystemWindows
    1. com.android.internal.policy.impl.PhoneWindow.access$1300(PhoneWindow.java:105)
    2. com.android.internal.policy.impl.PhoneWindow$DecorView.drawableChanged(PhoneWindow.java:2407)
    3. com.android.internal.policy.impl.PhoneWindow$DecorView.fitSystemWindows(PhoneWindow.java:2345)
    3 frames
  12. Android Platform
    Choreographer$FrameHandler.handleMessage
    1. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1203)
    2. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
    3. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4214)
    4. android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
    5. android.view.Choreographer.doCallbacks(Choreographer.java:555)
    6. android.view.Choreographer.doFrame(Choreographer.java:525)
    7. android.view.Choreographer$FrameHandler.handleMessage(Choreographer.java:657)
    7 frames
  13. Roboelectric HTTP
    ShadowHandler$1.run
    1. org.robolectric.shadows.ShadowHandler.routeMessage(ShadowHandler.java:125)
    2. org.robolectric.shadows.ShadowHandler.access$100(ShadowHandler.java:25)
    3. org.robolectric.shadows.ShadowHandler$1.run(ShadowHandler.java:110)
    3 frames
  14. Roboelectric
    Scheduler.postDelayed
    1. org.robolectric.util.Scheduler.postDelayed(Scheduler.java:37)
    1 frame
  15. Roboelectric HTTP
    ShadowHandler.sendMessageAtTime
    1. org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:198)
    2. org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:56)
    3. org.robolectric.shadows.ShadowHandler.sendMessageDelayed(ShadowHandler.java:105)
    4. org.robolectric.shadows.ShadowHandler.sendMessageAtTime(ShadowHandler.java:160)
    4 frames
  16. Android Platform
    Window.setDefaultWindowFormat
    1. android.os.Handler.sendMessageAtTime(Handler.java)
    2. android.view.Choreographer.scheduleFrameLocked(Choreographer.java:479)
    3. android.view.Choreographer.postCallbackDelayedInternal(Choreographer.java:309)
    4. android.view.Choreographer.postCallbackDelayed(Choreographer.java:292)
    5. android.view.Choreographer.postCallback(Choreographer.java:266)
    6. android.view.ViewRootImpl.scheduleTraversals(ViewRootImpl.java:974)
    7. android.view.ViewRootImpl.setLayoutParams(ViewRootImpl.java:792)
    8. android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:343)
    9. android.app.Activity.onWindowAttributesChanged(Activity.java:2267)
    10. android.view.Window.setDefaultWindowFormat(Window.java:1226)
    10 frames
  17. Android
    PhoneWindow$DecorView.fitSystemWindows
    1. com.android.internal.policy.impl.PhoneWindow.access$1300(PhoneWindow.java:105)
    2. com.android.internal.policy.impl.PhoneWindow$DecorView.drawableChanged(PhoneWindow.java:2407)
    3. com.android.internal.policy.impl.PhoneWindow$DecorView.fitSystemWindows(PhoneWindow.java:2345)
    3 frames
  18. Android Platform
    Choreographer$FrameHandler.handleMessage
    1. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1203)
    2. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
    3. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4214)
    4. android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
    5. android.view.Choreographer.doCallbacks(Choreographer.java:555)
    6. android.view.Choreographer.doFrame(Choreographer.java:525)
    7. android.view.Choreographer$FrameHandler.handleMessage(Choreographer.java:657)
    7 frames
  19. Roboelectric HTTP
    ShadowHandler$1.run
    1. org.robolectric.shadows.ShadowHandler.routeMessage(ShadowHandler.java:125)
    2. org.robolectric.shadows.ShadowHandler.access$100(ShadowHandler.java:25)
    3. org.robolectric.shadows.ShadowHandler$1.run(ShadowHandler.java:110)
    3 frames
  20. Roboelectric
    Scheduler.postDelayed
    1. org.robolectric.util.Scheduler.postDelayed(Scheduler.java:37)
    1 frame
  21. Roboelectric HTTP
    ShadowHandler.sendMessageAtTime
    1. org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:198)
    2. org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:56)
    3. org.robolectric.shadows.ShadowHandler.sendMessageDelayed(ShadowHandler.java:105)
    4. org.robolectric.shadows.ShadowHandler.sendMessageAtTime(ShadowHandler.java:160)
    4 frames
  22. Android Platform
    Choreographer.scheduleFrameLocked
    1. android.os.Handler.sendMessageAtTime(Handler.java)
    2. android.view.Choreographer.scheduleFrameLocked(Choreographer.java:479)
    2 frames