java.lang.StackOverflowError: This exception has no message.

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

Solutions on the web

java.lang.StackOverflowError:
at java.lang.Class.getConstructor0(Unknown Source)
at org.robolectric.bytecode.RobolectricInternals.newInstance(RobolectricInternals.java:39)
at org.robolectric.bytecode.RobolectricInternals.directlyOn(RobolectricInternals.java:54)
at org.robolectric.Robolectric.directlyOn(Robolectric.java:366)
at org.robolectric.shadows.ShadowView.directly(ShadowView.java:439)
at android.view.View.invalidate(View.java)
at android.widget.TextView.setPadding(TextView.java:2122)
at android.view.View.recomputePadding(View.java:10914)
at android.view.View.resolvePadding(View.java:11584)
at android.view.View.resolveLayoutDirection(View.java:11524)
at android.view.View.onAttachedToWindow(View.java:11440)
at android.widget.TextView.onAttachedToWindow(TextView.java:4448)
at android.view.View.dispatchAttachedToWindow(View.java:11755)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
at android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2424)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1201)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4214)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at org.robolectric.shadows.ShadowHandler.routeMessage(ShadowHandler.java:125)
at org.robolectric.shadows.ShadowHandler.access$100(ShadowHandler.java:25)
at org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:198)
at org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:56)
at org.robolectric.shadows.ShadowHandler.sendMessageDelayed(ShadowHandler.java:105)
at android.os.Handler.sendMessageAtTime(Handler.java)
at android.view.Choreographer.scheduleFrameLocked(Choreographer.java:479)
at android.view.Choreographer.postCallbackDelayedInternal(Choreographer.java:309)
at android.view.Choreographer.postCallbackDelayed(Choreographer.java:292)
at android.view.Choreographer.postCallback(Choreographer.java:266)
at android.view.ViewRootImpl.scheduleTraversals(ViewRootImpl.java:974)
at android.view.ViewRootImpl.setLayoutParams(ViewRootImpl.java:792)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:343)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2267)
at com.android.internal.policy.impl.PhoneWindow.access$1300(PhoneWindow.java:105)
at com.android.internal.policy.impl.PhoneWindow$DecorView.drawableChanged(PhoneWindow.java:2407)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1203)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4214)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at org.robolectric.shadows.ShadowHandler.routeMessage(ShadowHandler.java:125)
at org.robolectric.shadows.ShadowHandler.access$100(ShadowHandler.java:25)
at org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:198)
at org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:56)
at org.robolectric.shadows.ShadowHandler.sendMessageDelayed(ShadowHandler.java:105)
at android.os.Handler.sendMessageAtTime(Handler.java)
at android.view.Choreographer.scheduleFrameLocked(Choreographer.java:479)
at android.view.Choreographer.postCallbackDelayedInternal(Choreographer.java:309)
at android.view.Choreographer.postCallbackDelayed(Choreographer.java:292)
at android.view.Choreographer.postCallback(Choreographer.java:266)
at android.view.ViewRootImpl.scheduleTraversals(ViewRootImpl.java:974)
at android.view.ViewRootImpl.setLayoutParams(ViewRootImpl.java:792)
at android.view.WindowManagerImpl.updateViewLayout(WindowManagerImpl.java:343)
at android.app.Activity.onWindowAttributesChanged(Activity.java:2267)
at com.android.internal.policy.impl.PhoneWindow.access$1300(PhoneWindow.java:105)
at com.android.internal.policy.impl.PhoneWindow$DecorView.drawableChanged(PhoneWindow.java:2407)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1203)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4214)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
at android.view.Choreographer.doCallbacks(Choreographer.java:555)
at android.view.Choreographer.doFrame(Choreographer.java:525)
at org.robolectric.shadows.ShadowHandler.routeMessage(ShadowHandler.java:125)
at org.robolectric.shadows.ShadowHandler.access$100(ShadowHandler.java:25)
at org.robolectric.shadows.ShadowLooper.post(ShadowLooper.java:198)
at org.robolectric.shadows.ShadowHandler.postDelayed(ShadowHandler.java:56)
at org.robolectric.shadows.ShadowHandler.sendMessageDelayed(ShadowHandler.java:105)
at android.os.Handler.sendMessageAtTime(Handler.java)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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