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

Security error when import #144

Open
pnemonic78 opened this issue Jun 3, 2024 · 0 comments
Open

Security error when import #144

pnemonic78 opened this issue Jun 3, 2024 · 0 comments
Assignees
Labels
area/dataports import, export, backup bug Something isn't working

Comments

@pnemonic78
Copy link
Collaborator

      Caused by java.lang.SecurityException: Permission Denial: reading com.android.externalstorage.ExternalStorageProvider uri content://com.android.externalstorage.documents/document/primary%3AGnucash%2FBackup.gnucash from pid=7678, uid=10326 requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs
       at android.os.Parcel.createExceptionOrNull(Parcel.java:3069)
       at android.os.Parcel.createException(Parcel.java:3053)
       at android.os.Parcel.readException(Parcel.java:3036)
       at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
       at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:142)
       at android.content.ContentProviderProxy.query(ContentProviderNative.java:495)
       at android.content.ContentResolver.query(ContentResolver.java:1229)
       at android.content.ContentResolver.query(ContentResolver.java:1161)
       at android.content.ContentResolver.query(ContentResolver.java:1117)
       at org.gnucash.android.importer.ImportAsyncTask.doInBackground(ImportAsyncTask.java:100)
       at org.gnucash.android.importer.ImportAsyncTask.doInBackground(ImportAsyncTask.java:44)
       at android.os.AsyncTask$3.call(AsyncTask.java:394)
       at java.util.concurrent.FutureTask.run(FutureTask.java:264)
       at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
       at java.lang.Thread.run(Thread.java:1012)
    
@pnemonic78 pnemonic78 self-assigned this Jun 3, 2024
@djbrown djbrown added area/dataports import, export, backup bug Something isn't working labels Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dataports import, export, backup bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants