Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecurityException: uid 10457 cannot explicitly add accounts of type: nextcloud #14298

Open
TechAdrianPro opened this issue Jan 3, 2025 · 4 comments
Assignees
Labels
bug feature: authentication Authentication or accounts related performance: misc lag, ANR, etc and rarer exceptions/errors that don't have their own labels stable-3.30

Comments

@TechAdrianPro
Copy link

Cause of error

Exception in thread "main" java.lang.SecurityException: uid 10457 cannot explicitly add accounts of type: nextcloud
    at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)
    at android.os.Parcel.createException(Parcel.java:3041)
    at android.os.Parcel.readException(Parcel.java:3024)
    at android.os.Parcel.readException(Parcel.java:2966)
    at android.accounts.IAccountManager$Stub$Proxy.addAccountExplicitly(IAccountManager.java:1265)
    at android.accounts.AccountManager.addAccountExplicitly(AccountManager.java:1019)
    at com.owncloud.android.authentication.AuthenticatorActivity.createAccount(AuthenticatorActivity.java:1491)
    at com.owncloud.android.authentication.AuthenticatorActivity.onAuthenticatorTaskCallback(AuthenticatorActivity.java:1317)
    at com.owncloud.android.authentication.AuthenticatorAsyncTask.onPostExecute(AuthenticatorAsyncTask.kt:90)
    at com.owncloud.android.authentication.AuthenticatorAsyncTask.onPostExecute(AuthenticatorAsyncTask.kt:30)
    at android.os.AsyncTask.finish(AsyncTask.java:771)
    at android.os.AsyncTask.-$$Nest$mfinish(Unknown Source:0)
    at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788)
    at android.os.Handler.dispatchMessage(Handler.java:111)
    at android.os.Looper.loopOnce(Looper.java:242)
    at android.os.Looper.loop(Looper.java:362)
    at android.app.ActivityThread.main(ActivityThread.java:8407)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:992)
Caused by: Exception in thread "main" android.os.RemoteException: Remote stack trace:
	at com.android.server.accounts.AccountManagerService.addAccountExplicitlyWithVisibility(AccountManagerService.java:495)
	at com.android.server.accounts.AccountManagerService.addAccountExplicitly(AccountManagerService.java:1707)
	at android.accounts.IAccountManager$Stub.onTransact(IAccountManager.java:565)
	at com.android.server.accounts.AccountManagerService.onTransact(AccountManagerService.java:1106)
	at android.os.Binder.execTransactInternal(Binder.java:1385)

App information

  • ID: com.nextcloud.client
  • Version: 30300690
  • Build flavor: gplay

Device information

  • Brand: motorola
  • Device: bangkk
  • Model: moto g84 5G
  • Id: U1TCS34.22-64-19-4-2
  • Product: bangkk_ge

Firmware

  • SDK: 34
  • Release: 14
  • Incremental: 305d4a-9c98b
@tobiasKaminsky
Copy link
Member

Thank you for your report.
Can you tell us what you did?

I am aware of a similar error, when using a restricted profile on Samsung devices.

@tobiasKaminsky tobiasKaminsky self-assigned this Jan 6, 2025
@joshtrichards
Copy link
Member

Looks similar to #10159

@joshtrichards joshtrichards added performance: misc lag, ANR, etc and rarer exceptions/errors that don't have their own labels feature: authentication Authentication or accounts related stable-3.30 labels Jan 6, 2025
@TechAdrianPro
Copy link
Author

TechAdrianPro commented Jan 6, 2025 via email

@tobiasKaminsky tobiasKaminsky changed the title mistake SecurityException: uid 10457 cannot explicitly add accounts of type: nextcloud Jan 7, 2025
@tobiasKaminsky
Copy link
Member

What do you mean with "recreated"?
Like from a backup?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature: authentication Authentication or accounts related performance: misc lag, ANR, etc and rarer exceptions/errors that don't have their own labels stable-3.30
Projects
None yet
Development

No branches or pull requests

3 participants