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

GitHub | kordianbruck | 5 months ago
  1. 0

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

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

    Android : FATAL EXCEPTION AsyncTask #4

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

    SIP manual registration + Textview update

    Stack Overflow | 4 years ago | onizukaek
    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

    Android - admob banner crashes when setting back to visible

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

    What kinda error am I getting? Android Timer Error

    Stack Overflow | 4 years ago | iEpic
    android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.

  1. jk 2 times, last 5 months ago
  2. lribeiro 1 times, last 7 months ago
  3. thilo 2 times, last 7 months ago
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
    View.setVisibility
    1. android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6566)
    2. android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:911)
    3. android.view.View.requestLayout(View.java:18733)
    4. android.view.View.requestLayout(View.java:18733)
    5. android.view.View.requestLayout(View.java:18733)
    6. android.view.View.requestLayout(View.java:18733)
    7. android.view.View.requestLayout(View.java:18733)
    8. android.view.View.requestLayout(View.java:18733)
    9. android.widget.RelativeLayout.requestLayout(RelativeLayout.java:360)
    10. android.view.View.requestLayout(View.java:18733)
    11. android.view.View.setFlags(View.java:10595)
    12. android.view.View.setVisibility(View.java:7431)
    12 frames
  3. de.tum.in
    StartupActivity$1.run
    1. de.tum.in.tumcampusapp.activities.StartupActivity.init(StartupActivity.java:111)
    2. de.tum.in.tumcampusapp.activities.StartupActivity.access$000(StartupActivity.java:52)
    3. de.tum.in.tumcampusapp.activities.StartupActivity$1.run(StartupActivity.java:137)
    3 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame