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

Samebug tips

  1. ,
    Expert tip

    Android SDK 23 introduced a new way to handle permissions, so as a temporary workaround you can set it to build for SDK below 23. As a permanent solution you have to ask user during runtime for permissions with checkSelfPermission() or requestPermissions()

  2. ,
    Expert tip

    MANAGE_USERS has a protection level of signature|system, so your application must be signed with the platform key. Take a look on this https://goo.gl/nXsTvH for more information about it.

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
, 4 weeks ago
An error occurred while executing doInBackground()
via GitHub by Madis0
, 8 months ago
An error occurred while executing doInBackground()
java.lang.SecurityException: Need ACCESS_COARSE_LOCATION or ACCESS_FINE_LOCATION permission to get scan results	at android.os.Parcel.readException(Parcel.java:1599)	at android.os.Parcel.readException(Parcel.java:1552)	at android.net.wifi.IWifiManager$Stub$Proxy.getScanResults(IWifiManager.java:1066)	at android.net.wifi.WifiManager.getScanResults(WifiManager.java:1311)	at xy.abc.xyz.xy.config.WlanInfoAdapter.getNewItems(WlanInfoAdapter.java:72)	at xy.abc.xyz.xy.android.data.ChangeableArrayAdapter$1.doInBackground(ChangeableArrayAdapter.java:78)	at xy.abc.xyz.xy.android.data.ChangeableArrayAdapter$1.doInBackground(ChangeableArrayAdapter.java:74)	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)