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: Permission Denial opening provider androidx.core.content.FileProvider from ProcessRecord #3782

Open
amaze-issue-automation bot opened this issue Apr 12, 2023 · 0 comments
Labels
From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating. Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty.

Comments

@amaze-issue-automation
Copy link

Issue explanation (write below this line)

Exception

  • App Name: مدير ملفات Amaze
  • Package: com.amaze.filemanager
  • Version: 3.8.5
  • User Action: UI Error
  • Request: Application crash
  • OS: Linux
    HUAWEI/INE-LX1r/HWINE:9/HUAWEIINE-LX1r/9.1.0.308C185:user/release-keys 9 -
    28
  • Device: HWINE
  • Model: INE-LX1r
  • Product: INE-LX1r
Crash log

java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.amaze.filemanager/com.amaze.filemanager.ui.activities.texteditor.TextEditorActivity}:
java.lang.SecurityException: Permission Denial: opening provider
androidx.core.content.FileProvider from ProcessRecord{eddd226
14755:com.amaze.filemanager/u0a147} (pid=14755, uid=10147) that is not
exported from UID 1001
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3430)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3614)
at
android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:86)
at
android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2199)
at android.os.Handler.dispatchMessage(Handler.java:112)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
Caused by: java.lang.SecurityException: Permission Denial: opening provider
androidx.core.content.FileProvider from ProcessRecord{eddd226
14755:com.amaze.filemanager/u0a147} (pid=14755, uid=10147) that is not
exported from UID 1001
at android.os.Parcel.createException(Parcel.java:1953)
at android.os.Parcel.readException(Parcel.java:1921)
at android.os.Parcel.readException(Parcel.java:1871)
at
android.app.IActivityManager$Stub$Proxy.getContentProvider(IActivityManager.java:4159)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:6845)
at
android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2922)
at
android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1879)
at android.content.ContentResolver.query(ContentResolver.java:800)
at android.content.ContentResolver.query(ContentResolver.java:766)
at android.content.ContentResolver.query(ContentResolver.java:717)
at
com.amaze.filemanager.filesystem.EditableFileAbstraction.<init>(EditableFileAbstraction.java:62)
at
com.amaze.filemanager.ui.activities.texteditor.TextEditorActivity.onCreate(TextEditorActivity.java:140)
at android.app.Activity.performCreate(Activity.java:7458)
at android.app.Activity.performCreate(Activity.java:7448)
at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1286)
at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3409)
... 11 more
Caused by: android.os.RemoteException: Remote stack trace:
at
com.android.server.am.ActivityManagerService.getContentProviderImpl(ActivityManagerService.java:13616)
at
com.android.server.am.ActivityManagerService.getContentProvider(ActivityManagerService.java:14111)
at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:357)
at
com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3654)
at
com.android.server.am.HwActivityManagerService.onTransact(HwActivityManagerService.java:609)



HUAWEI

@amaze-issue-automation amaze-issue-automation bot added the From-Email This is from an email, probably lacking replication info label Apr 12, 2023
@VishnuSanal VishnuSanal changed the title Crash reported by JOJO java.lang.SecurityException: Permission Denial opening provider androidx.core.content.FileProvider from ProcessRecord Apr 18, 2023
@VishnuSanal VishnuSanal added the Issue-Bug Related unexpected behavior or something worth investigating. label Apr 18, 2023
This was referenced Jun 11, 2023
@VishnuSanal VishnuSanal added the Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty. label Jun 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
From-Email This is from an email, probably lacking replication info Issue-Bug Related unexpected behavior or something worth investigating. Issue-Easy (good first issue) Beginners welcome! Issues with relative low difficulty.
Projects
None yet
Development

No branches or pull requests

1 participant