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

java.lang.SecurityException: Calling from not trusted UID! with 4.1.0 and + version #463

Open
robertvargic opened this issue Nov 8, 2022 · 1 comment

Comments

@robertvargic
Copy link

Library Version:
4.1.0 and 4.2.0

Describe the Bug:
After the project is successfully compiled, running tests fails on the first test case. The stack trace doesn't show a crash, but by digging through the stack trace, I found some usable things, mainly related to the issue mentioned in the title. Rolling the project back to 4.0.0 fixes the issue, and I can run tests properly. This issue is not device dependent on my side since tests fail on real devices and multiple emulators.

Stacktrace

1-08 19:29:05.865 18316 18329 W Binder  : Caught a RuntimeException from the binder stub implementation.
11-08 19:29:05.865 18316 18329 W Binder  : java.lang.SecurityException: Calling from not trusted UID!
11-08 19:29:05.865 18316 18329 W Binder  : 	at android.app.UiAutomationConnection.throwIfCalledByNotTrustedUidLocked(UiAutomationConnection.java:525)
11-08 19:29:05.865 18316 18329 W Binder  : 	at android.app.UiAutomationConnection.shutdown(UiAutomationConnection.java:429)
11-08 19:29:05.865 18316 18329 W Binder  : 	at android.app.IUiAutomationConnection$Stub.onTransact(IUiAutomationConnection.java:390)
11-08 19:29:05.865 18316 18329 W Binder  : 	at android.os.Binder.execTransactInternal(Binder.java:1159)
11-08 19:29:05.865 18316 18329 W Binder  : 	at android.os.Binder.execTransact(Binder.java:1123)
@Sloy
Copy link
Member

Sloy commented Nov 16, 2022

@robertvargic Is this the actual failure of the tests? It looks like a warning (W). Maybe there's another error in the log?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants