Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by simone giusti, 1 year ago
An error occurred while executing doInBackground()
via GitHub by billmeek
, 1 year ago
An error occurred while executing doInBackground()
via GitHub by Neamar
, 1 year ago
An error occurred while executing doInBackground()
via GitHub by sarvajeet294
, 7 months ago
An error occurred while executing doInBackground()
via GitHub by AndroidDeveloperLB
, 3 weeks ago
An error occurred while executing doInBackground()
via GitHub by Madis0
, 8 months ago
An error occurred while executing doInBackground()
android.system.ErrnoException: android_getaddrinfo failed: EACCES (Permission denied)	at libcore.io.Posix.android_getaddrinfo(Native Method)	at libcore.io.ForwardingOs.android_getaddrinfo(ForwardingOs.java:55)	at java.net.InetAddress.lookupHostByName(InetAddress.java:451)	at java.net.InetAddress.getAllByNameImpl(InetAddress.java:252)	at java.net.InetAddress.getAllByName(InetAddress.java:215)	at com.android.okhttp.internal.Network$1.resolveInetAddresses(Network.java:29)	at com.android.okhttp.internal.http.RouteSelector.resetNextInetSocketAddress(RouteSelector.java:188)	at com.android.okhttp.internal.http.RouteSelector.nextProxy(RouteSelector.java:157)	at com.android.okhttp.internal.http.RouteSelector.next(RouteSelector.java:100)	at com.android.okhttp.internal.http.HttpEngine.createNextConnection(HttpEngine.java:357)	at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:340)	at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:330)	at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:248)	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:433)	at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:114)	at com.example.prof_mohamedatef.tabletfragments.MainFragment$Fetch_Movies_data.doInBackground(MainFragment.java:175)	at com.example.prof_mohamedatef.tabletfragments.MainFragment$Fetch_Movies_data.doInBackground(MainFragment.java:125)	at android.os.AsyncTask$2.call(AsyncTask.java:295)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	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)