java.lang.RuntimeException

An error occurred while executing doInBackground()

Solutions on the web18699

  • via GitHub by lanceschi
    , 1 year ago
    An error occurred while executing doInBackground()
  • via GitHub by billmeek
    , 5 months ago
    An error occurred while executing doInBackground()
  • via GitHub by viperfx
    , 1 year ago
    An error occurred while executing doInBackground()
  • Stack trace

    • java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:309) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) at java.util.concurrent.FutureTask.setException(FutureTask.java:223) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) Caused by: java.lang.IllegalStateException: Target host must not be null, or set in parameters. scheme=null, host=null, path=https://a.mapillary.com/v2/u
    • aoliv?client_id=X at org.apache.http.impl.client.DefaultRequestDirector.determineRoute(DefaultRequestDirector.java:631) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:313) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:580) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:503) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:481) at app.mapillary.android.rest.HttpGetTask.doInBackground(HttpGetTask.java:74) at app.mapillary.android.rest.HttpGetTask.doInBackground(HttpGetTask.java:23) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 4 more

    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

    8 times, 4 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 11 months ago
    Once, 11 months ago
    80 times, 1 year ago
    15 more bugmates