java.lang.SecurityException: This exception has no message.

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

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()

,
via android.com by Unknown author

You need to request READ_PHONE_STATE permissions before using of this method.

Solutions on the web

via mozilla.com by Unknown author, 10 months ago
via mozilla.com by Unknown author, 10 months ago
via mozilla.com by Unknown author, 1 year ago
via Stack Overflow by Ton
, 4 months ago
java.lang.SecurityException:

Users with the same issue

34 times, 1 year ago
2 times, 2 weeks ago
86 times, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
4 times, 2 months ago

Write tip

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