An error occured while executing doInBackground()

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web401

  • via Stack Overflow by user4549769
  • Stack trace

    • java.lang.RuntimeException: An error occured while executing doInBackground() at android.os.AsyncTask$3.done( at java.util.concurrent.FutureTask.finishCompletion( at java.util.concurrent.FutureTask.setException( at at android.os.AsyncTask$SerialExecutor$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. at android.view.ViewRootImpl.checkThread( at android.view.ViewRootImpl.invalidateChildInParent( at android.view.ViewGroup.invalidateChild( at android.view.View.invalidate( at android.view.View.invalidate( at android.widget.TextView.checkForRelayout( at android.widget.TextView.setText( at android.widget.TextView.setText( at android.widget.TextView.setText( at com.prgguru.example.MusicAndroidActivity$LoadWebPageASYNC.doInBackground( at com.prgguru.example.MusicAndroidActivity$LoadWebPageASYNC.doInBackground( at android.os.AsyncTask$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Diogo JaymDiogo Jaym
    2 times, last one
    8 times, last one
    28 more bugmates