java.lang.RuntimeException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
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()

tip

You need the permission android.permission.READ_EXTERNAL_STORAGE. Write on the Android Manifest

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.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • UserManager getUserCount() (Jelly Bean)
    via Stack Overflow by Kedi
    ,
  • Dealing with Download Listener in Android
    via Stack Overflow by Alok Kumar
    ,
  • securityexception
    via by Unknown author,
    • java.lang.RuntimeException: Unable to resume activity {life.gwl.sipdemo/life.gwl.sipdemo.WalkieTalkieActivity}: java.lang.SecurityException: open3: Neither user 10060 nor current process has android.permission.USE_SIP. at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3103) at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3134) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1388) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) Caused by: java.lang.SecurityException: open3: Neither user 10060 nor current process has android.permission.USE_SIP. at android.os.Parcel.readException(Parcel.java:1599) at android.os.Parcel.readException(Parcel.java:1552) at android.net.sip.ISipService$Stub$Proxy.open3(ISipService.java:241) at android.net.sip.SipManager.open(SipManager.java:234) at life.gwl.sipdemo.WalkieTalkieActivity.initializeLocalProfile(WalkieTalkieActivity.java:170) at life.gwl.sipdemo.WalkieTalkieActivity.initializeManager(WalkieTalkieActivity.java:136) at life.gwl.sipdemo.WalkieTalkieActivity.onStart(WalkieTalkieActivity.java:105) at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237) at android.app.Activity.performStart(Activity.java:6253) at android.app.Activity.performRestart(Activity.java:6299) at android.app.Activity.performResume(Activity.java:6304) at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3092)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    filipebatistafilipebatista
    37 times, last one,
    Hiren AmaliyarHiren Amaliyar
    46 times, last one,
    AravindAravind
    86 times, last one,
    Indri YunitaIndri Yunita
    199 times, last one,
    229 more bugmates