App crashes when an upload is retried
See original GitHub issueSummary:
I just opened my emulator and saw that there was a failed upload. I clicked on retry button and the app crashes.
Add System logs:
2018-07-26 23:58:32.275 3004-3004/fr.free.nrw.commons.debug D/ContributionsActivity: Restarting for fr.free.nrw.commons.contributions.Contribution@3c770c
--------- beginning of system
2018-07-26 23:58:32.276 3004-3028/fr.free.nrw.commons.debug E/AndroidRuntime: FATAL EXCEPTION: UploadService
Process: fr.free.nrw.commons.debug, PID: 3004
java.lang.SecurityException: Permission Denial: opening provider com.android.providers.media.MediaDocumentsProvider from ProcessRecord{c92d88d 3004:fr.free.nrw.commons.debug/u0a126} (pid=3004, uid=10126) requires android.permission.MANAGE_DOCUMENTS or android.permission.MANAGE_DOCUMENTS
at android.os.Parcel.readException(Parcel.java:1684)
at android.os.Parcel.readException(Parcel.java:1637)
at android.app.ActivityManagerProxy.getContentProvider(ActivityManagerNative.java:4199)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:5476)
at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2239)
at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:1517)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1131)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:984)
at android.content.ContentResolver.openInputStream(ContentResolver.java:704)
at fr.free.nrw.commons.upload.UploadService.uploadContribution(UploadService.java:196)
at fr.free.nrw.commons.upload.UploadService.handle(UploadService.java:138)
at fr.free.nrw.commons.upload.UploadService.handle(UploadService.java:48)
at fr.free.nrw.commons.HandlerService$ServiceHandler.handleMessage(HandlerService.java:26)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.os.HandlerThread.run(HandlerThread.java:61)
Commons app version:
branch 2.8-release
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Crash with transporter on Mac air M1 with Monterey 12.0.1
The app is verified and then at the beginning of the distribution it stoped to upload. The computer then crashed 5-10 minutes later,...
Read more >Plugin crashes intermittently during upload · Issue #163 - GitHub
We are noticing that uploads to App Center are intermittently failing. Below is the error we see when we tried to upload a...
Read more >App Center Crashes for Windows - Visual Studio
Crashes are collected on App Center only if it causes the application to exit automatically. App Center supports only one crash per session....
Read more >Mobile App OwnCloud Crashes / Fail to upload - Android
Open OwnCloud app · Tap on Uploads Icon bottom screen icons · Tap on a failed or waiting for wifi file.
Read more >App crashing when I try to upload photos : r/Mercari - Reddit
But now when I try to upload photos the app cycles or completely crashes and shuts down. I've tried reinstalling the app.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@nicolas-raoul My last merge from master was July 30th. After pulling today, the crash no longer happens.
@albendz What commit of master? I merged from 2.8-release to master yesterday and the day before.