android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

GitHub | Mathbl | 3 months ago
  1. 0

    Fatal Exception: android.view.ViewRootImpl$CalledFromWrongThreadException

    GitHub | 3 months ago | Mathbl
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  2. 0

    Remove View in ViewGroup

    Stack Overflow | 4 years ago | Styler2go
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    Use timers in android for custom navigation bar

    Stack Overflow | 2 years ago | user2430771
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

    GitHub | 2 years ago | jimok82
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
  6. 0

    App crashes on clicking on same item

    Stack Overflow | 3 years ago | Darko Petkovski
    java.lang.RuntimeException: An error occured while executing doInBackground()

    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. android.view.ViewRootImpl$CalledFromWrongThreadException

      Only the original thread that created a view hierarchy can touch its views.

      at android.view.ViewRootImpl.checkThread()
    2. Android Platform
      ViewGroup.removeView
      1. android.view.ViewRootImpl.checkThread(ViewRootImpl.java:8181)
      2. android.view.ViewRootImpl.invalidateChildInParent(ViewRootImpl.java:1307)
      3. android.view.ViewGroup.invalidateChild(ViewGroup.java:5428)
      4. android.view.View.invalidateInternal(View.java:13932)
      5. android.view.View.invalidate(View.java:13896)
      6. android.view.View.invalidate(View.java:13880)
      7. android.widget.ImageView.invalidateDrawable(ImageView.java:262)
      8. android.graphics.drawable.Drawable.invalidateSelf(Drawable.java:844)
      9. android.graphics.drawable.Drawable.setVisible(Drawable.java:1575)
      10. android.graphics.drawable.LayerDrawable.setVisible(LayerDrawable.java:1231)
      11. android.widget.ImageView.onDetachedFromWindow(ImageView.java:1511)
      12. android.view.View.dispatchDetachedFromWindow(View.java:15851)
      13. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3372)
      14. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3372)
      15. android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3372)
      16. android.view.ViewGroup.removeViewInternal(ViewGroup.java:4950)
      17. android.view.ViewGroup.removeViewInternal(ViewGroup.java:4923)
      18. android.view.ViewGroup.removeView(ViewGroup.java:4854)
      18 frames
    3. io.intercom.android
      RealIntercom.reset
      1. io.intercom.android.sdk.preview.PreviewManager.conditionallyRemovePreview(PreviewManager.java:287)
      2. io.intercom.android.sdk.preview.PreviewManager.reset(PreviewManager.java:135)
      3. io.intercom.android.sdk.RealIntercom.reset(RealIntercom.java:319)
      3 frames
    4. com.myapp.android
      Session$5.run
      1. com.myapp.android.models.Session.signOut(Session.java:355)
      2. com.myapp.android.models.Session$5.run(Session.java:400)
      2 frames
    5. Java RT
      Timer$TimerImpl.run
      1. java.util.Timer$TimerImpl.run(Timer.java:284)
      1 frame