java.lang.RuntimeException

An error occurred 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 web88

  • 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.RuntimeException: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.188.82:8080 refused at org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:108) at org.jboss.resteasy.client.core.ClientProxy.invoke(ClientProxy.java:72) at java.lang.reflect.Proxy.invoke(Proxy.java:393) at $Proxy10.readAllTodos(Unknown Source) at de.app.malchemie.wunderlist.serveraccess.ServerRemoteAccessor.readAllTodos(ServerRemoteAccessor.java:50) at de.app.malchemie.wunderlist.activities.LoginActivity$1.doInBackground(LoginActivity.java:50) at de.app.malchemie.wunderlist.activities.LoginActivity$1.doInBackground(LoginActivity.java:47) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) ... 4 more Caused by: org.apache.http.conn.HttpHostConnectException: Connection to http://192.168.188.82:8080 refused at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:193) at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169) at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124) at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:492) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:470) at org.jboss.resteasy.client.core.executors.ApacheHttpClient4Executor.execute(ApacheHttpClient4Executor.java:94) at org.jboss.resteasy.client.ClientRequest.execute(ClientRequest.java:467) at org.jboss.resteasy.client.ClientRequest.httpMethod(ClientRequest.java:704) at org.jboss.resteasy.client.core.ClientInvoker.invoke(ClientInvoker.java:104) ... 12 more Caused by: java.net.ConnectException: failed to connect to /192.168.188.82 (port 8080): connect failed: ECONNREFUSED (Connection refused) at libcore.io.IoBridge.connect(IoBridge.java:124) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:452) at java.net.Socket.connect(Socket.java:884) at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:124) at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:149) ... 22 more Caused by: android.system.ErrnoException: connect failed: ECONNREFUSED (Connection refused) at libcore.io.Posix.connect(Native Method) at libcore.io.BlockGuardOs.connect(BlockGuardOs.java:111) at libcore.io.IoBridge.connectErrno(IoBridge.java:137) at libcore.io.IoBridge.connect(IoBridge.java:122) ... 27 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

    dmitrydmitry
    6 times, last one
    ashish.sadhwaniashish.sadhwani
    Once,
    ank_07ank_07
    2 times, last one
    Stefan BrauneStefan Braune
    2 times, last one
    Hiren AmaliyarHiren Amaliyar
    2 times, last one
    50 more bugmates