java.lang.SecurityException: Neither user 10039 nor current process has android.permission.WAKE_LOCK.

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

,
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.

,
Expert tip

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> on the Android Manifest

Solutions on the web

via Google Groups by Mariano Kamp, 1 year ago
via GitHub by qssq
, 1 year ago
Neither user 10696 nor current process has android.permission.WAKE_LOCK.
via GitHub by lordi
, 1 year ago
Neither user 10025 nor current process has android.permission.WAKE_LOCK.
via google.com by Unknown author, 1 year ago
Neither user 10071 nor current process has android.permission.WAKE_LOCK.
via Stack Overflow by John Donvan
, 2 years ago
Neither user 10008 nor current process has android.permission.WAKE_LOCK.
java.lang.SecurityException: Neither user 10039 nor current process has android.permission.WAKE_LOCK.
at android.os.Parcel.readException(Parcel.java:1234)
at android.os.Parcel.readException(Parcel.java:1222)
at android.os.IPowerManager$Stub$Proxy.acquireWakeLock(IPowerManager.java:178)
at android.os.PowerManager$WakeLock.acquire(PowerManager.java:228)
at com.newsrob.SynchronizationService.doSync(SynchronizationService.java:109)
at com.newsrob.SynchronizationService.access$0(SynchronizationService.java:86)
at com.newsrob.SynchronizationService$1.run(SynchronizationService.java:75)
at java.lang.Thread.run(Thread.java:1058)

Users with the same issue

Once, 2 days ago
Once, 4 weeks ago
Once, 1 month ago
Once, 1 month ago
7 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.