java.lang.RuntimeException: An error occurred while executing doInBackground()

Stack Overflow | Remy | 1 week ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Retrieving Data from PHP MySQL to Android List View

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

    android.app.SuperNotCalledException(error)

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

    XML Parsing gives me an Error then crashes application

    Stack Overflow | 4 years ago | Keeano
    java.lang.RuntimeException: An error occured while executing doInBackground()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Remove View in ViewGroup

    Stack Overflow | 4 years ago | Styler2go
    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
      AdapterView.setEmptyView
      1. android.view.ViewRootImpl.checkThread(ViewRootImpl.java:6891)
      2. android.view.ViewRootImpl.requestLayout(ViewRootImpl.java:1048)
      3. android.view.View.requestLayout(View.java:19781)
      4. android.view.View.requestLayout(View.java:19781)
      5. android.view.View.requestLayout(View.java:19781)
      6. android.view.View.requestLayout(View.java:19781)
      7. android.view.View.requestLayout(View.java:19781)
      8. android.view.View.requestLayout(View.java:19781)
      9. android.view.View.requestLayout(View.java:19781)
      10. android.widget.RelativeLayout.requestLayout(RelativeLayout.java:360)
      11. android.view.View.requestLayout(View.java:19781)
      12. android.view.View.setFlags(View.java:11478)
      13. android.view.View.setVisibility(View.java:8069)
      14. android.widget.AdapterView.updateEmptyStatus(AdapterView.java:763)
      15. android.widget.AdapterView.setEmptyView(AdapterView.java:687)
      15 frames
    3. com.johnbohne.okcupid
      MainActivityFragment$GetPersonInformation.doInBackground
      1. com.johnbohne.okcupid.MainActivityFragment.getPeople(MainActivityFragment.java:154)
      2. com.johnbohne.okcupid.MainActivityFragment$GetPersonInformation.doInBackground(MainActivityFragment.java:63)
      3. com.johnbohne.okcupid.MainActivityFragment$GetPersonInformation.doInBackground(MainActivityFragment.java:59)
      3 frames
    4. Android Platform
      AsyncTask$2.call
      1. android.os.AsyncTask$2.call(AsyncTask.java:305)
      1 frame
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      1 frame
    6. Android Platform
      AsyncTask$SerialExecutor$1.run
      1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
      3. java.lang.Thread.run(Thread.java:761)
      3 frames