java.lang.IllegalArgumentException: Rect should intersect with child's bounds.

Stack Overflow | vidhit | 1 week ago
  1. 0

    GitHub comment 8#254428226

    GitHub | 3 months ago | AmoliShah
    java.lang.IllegalArgumentException: Rect should intersect with child's bounds.
  2. 0

    android fatal exception main not working

    Stack Overflow | 1 week ago | vidhit
    java.lang.IllegalArgumentException: Rect should intersect with child's bounds.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

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.IllegalArgumentException

    Rect should intersect with child's bounds.

    at android.support.design.widget.CoordinatorLayout.offsetChildByInset()
  2. android.support.design
    CoordinatorLayout$OnPreDrawListener.onPreDraw
    1. android.support.design.widget.CoordinatorLayout.offsetChildByInset(CoordinatorLayout.java:1319)
    2. android.support.design.widget.CoordinatorLayout.onChildViewsChanged(CoordinatorLayout.java:1257)
    3. android.support.design.widget.CoordinatorLayout$OnPreDrawListener.onPreDraw(CoordinatorLayout.java:1805)
    3 frames
  3. Android Platform
    ActivityThread.main
    1. android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
    2. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2213)
    3. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1258)
    4. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6348)
    5. android.view.Choreographer$CallbackRecord.run(Choreographer.java:871)
    6. android.view.Choreographer.doCallbacks(Choreographer.java:683)
    7. android.view.Choreographer.doFrame(Choreographer.java:619)
    8. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:857)
    9. android.os.Handler.handleCallback(Handler.java:751)
    10. android.os.Handler.dispatchMessage(Handler.java:95)
    11. android.os.Looper.loop(Looper.java:154)
    12. android.app.ActivityThread.main(ActivityThread.java:6123)
    12 frames
  4. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  5. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)
    2 frames