roscopeco / ormdroid

ORMDroid is a simple ORM persistence framework for your Android applications.
http://roscopeco.github.io/ormdroid/
Apache License 2.0
86 stars 24 forks source link

Security Exception #21

Closed Queatz closed 10 years ago

Queatz commented 10 years ago

I'm getting the following exception, although I'm not sure if ormdroid's causing it. All I know is that I'm referencing Entitys in my code when it happens.

12-17 17:48:57.155     847-1466/? E/DatabaseUtils﹕ Writing exception to parcel
    java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
            at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:13090)
            at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2038)
            at com.android.providers.settings.SettingsProvider.callFromPackage(SettingsProvider.java:607)
            at android.content.ContentProvider$Transport.call(ContentProvider.java:279)
            at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:273)
            at android.os.Binder.execTransact(Binder.java:388)
            at dalvik.system.NativeStart.run(Native Method)
roscopeco commented 10 years ago

Hi,

Before I can look into this, I'll need the following additional information:

1) What Android version are you on? 2) Emulator or device (if device, which one) 3) What, specifically, is your code doing when the exception is raised? 4) Can you provide a small code snippet that will reproduce the error?

Thanks in advance, Ross

Queatz commented 10 years ago

I don't think this is an ormdroid error.