question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SecurityException: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider that is not exported from uid 10063

See original GitHub issue

Posted by Tommy Gildseth on 12 Jul:

USER_COMMENT=Clicked the back button from a failed upload
ANDROID_VERSION=6.0.1
APP_VERSION_NAME=1.17
BRAND=google
PHONE_MODEL=Nexus 5X
CUSTOM_DATA=
STACK_TRACE=java.lang.SecurityException: Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{50fff77 18404:fr.free.nrw.commons/u0a118} (pid=18404, uid=10118) that is not exported from uid 10063
at android.os.Parcel.readException(Parcel.java:1620)
at android.os.Parcel.readException(Parcel.java:1573)
at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:3550)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:4783)
at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2018)
at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1468)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1088)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:942)
at android.content.ContentResolver.openInputStream(ContentResolver.java:662)
at fr.free.nrw.commons.upload.UploadService.uploadContribution(UploadService.java:176)
at fr.free.nrw.commons.upload.UploadService.handle(UploadService.java:114)
at fr.free.nrw.commons.upload.UploadService.handle(UploadService.java:27)
at fr.free.nrw.commons.HandlerService$ServiceHandler.handleMessage(HandlerService.java:19)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:22 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
nicolas-raoulcommented, Jul 12, 2016

Linking it here for the sake of findability: http://stackoverflow.com/q/38301605

0reactions
nicolas-raoulcommented, Apr 28, 2022

Anyone experiencing this issue on our latest Commons app, please open a new issue, thank you! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Permission denied : opening provider com.google.android ...
Permission denied : opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider that is not exported from uid · I try to ...
Read more >
Android – Permission denied : opening provider com.google ...
Android – Permission denied : opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider that is not exported from uid.
Read more >
fr.free.nrw.commons Crash Report - Google Groups
SecurityException : Permission Denial: opening provider com.google.android.apps.photos.contentprovider.MediaContentProvider from ProcessRecord{50fff77 ...
Read more >
Permission Denial: opening provider com.google.android ...
SecurityException : Permission Denial: opening provider com.google.android.apps.photos.contentprovider.impl.MediaContentProvider from ...
Read more >
Android Development Security - Provider Component Security
The Content Provider component is one of the key Android app components. It manages data access and is mainly used to implement data...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found